about summary refs log tree commit diff stats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2019-03-12 21:50:00 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2019-03-12 21:50:00 -0400
commit7789e2138fc0479846c20bc68d68973636a4a760 (patch)
treeef14af7a0a6e0de8f086a2b2db877840eb48904c /config/routes.rb
parent7a2d945f581c8ce9e322883ec597366143fe10cb (diff)
downloadthoughts-7789e2138fc0479846c20bc68d68973636a4a760.tar.gz
thoughts-7789e2138fc0479846c20bc68d68973636a4a760.tar.bz2
thoughts-7789e2138fc0479846c20bc68d68973636a4a760.zip
Started game tracker
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
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'