diff options
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 6 |
1 files changed, 6 insertions, 0 deletions
| diff --git a/config/routes.rb b/config/routes.rb index cf0bdd6..7369514 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -3,6 +3,10 @@ Rails.application.routes.draw do | |||
| 3 | get '/', to: 'dashboard#index' | 3 | get '/', to: 'dashboard#index' |
| 4 | 4 | ||
| 5 | resources :blogs, except: [:show] | 5 | resources :blogs, except: [:show] |
| 6 | |||
| 7 | resources :streams, except: [:show] do | ||
| 8 | resources :updates, except: [:index, :show] | ||
| 9 | end | ||
| 6 | end | 10 | end |
| 7 | 11 | ||
| 8 | mount Ckeditor::Engine => '/ckeditor' | 12 | mount Ckeditor::Engine => '/ckeditor' |
| @@ -16,5 +20,7 @@ Rails.application.routes.draw do | |||
| 16 | 20 | ||
| 17 | get 'says/:slug', to: 'blogs#show' | 21 | get 'says/:slug', to: 'blogs#show' |
| 18 | 22 | ||
| 23 | get 'thinks/:slug', to: 'streams#show' | ||
| 24 | |||
| 19 | mount Pokeviewer::Engine => '/poke3' | 25 | mount Pokeviewer::Engine => '/poke3' |
| 20 | end | 26 | end |
