diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 512c319..240beae 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
@@ -13,6 +13,8 @@ Rails.application.routes.draw do | |||
13 | end | 13 | end |
14 | 14 | ||
15 | resources :links, except: [:show] | 15 | resources :links, except: [:show] |
16 | |||
17 | resources :games, except: [:show] | ||
16 | end | 18 | end |
17 | 19 | ||
18 | mount Ckeditor::Engine => '/ckeditor' | 20 | mount Ckeditor::Engine => '/ckeditor' |
@@ -28,6 +30,8 @@ Rails.application.routes.draw do | |||
28 | 30 | ||
29 | get 'thinks/:slug', to: 'streams#show', as: :stream | 31 | get 'thinks/:slug', to: 'streams#show', as: :stream |
30 | 32 | ||
33 | get 'plays', to: 'games#index' | ||
34 | |||
31 | resources :tags, only: [], param: :name do | 35 | resources :tags, only: [], param: :name do |
32 | collection do | 36 | collection do |
33 | get 'suggest' | 37 | get 'suggest' |