diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7369514..37e7f90 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
@@ -2,7 +2,11 @@ Rails.application.routes.draw do | |||
2 | namespace :admin do | 2 | namespace :admin do |
3 | get '/', to: 'dashboard#index' | 3 | get '/', to: 'dashboard#index' |
4 | 4 | ||
5 | resources :blogs, except: [:show] | 5 | resources :blogs, except: [:show] do |
6 | collection do | ||
7 | get 'drafts' | ||
8 | end | ||
9 | end | ||
6 | 10 | ||
7 | resources :streams, except: [:show] do | 11 | resources :streams, except: [:show] do |
8 | resources :updates, except: [:index, :show] | 12 | resources :updates, except: [:index, :show] |