about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-07-07 17:20:08 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-07-07 17:20:08 -0400
commit5be9480128b2841647b204ba19ec9f45dac438f5 (patch)
treeb83441962e485e70d239a3ad8b9bf6ae6d9d5db6 /config
parenta4779bdb3baf50b477bbe166f7b1d873d75e506f (diff)
downloadthoughts-5be9480128b2841647b204ba19ec9f45dac438f5.tar.gz
thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.tar.bz2
thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.zip
Added tag autocompletion
refs #2
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index ac5b84d..2d0a4ec 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -26,5 +26,11 @@ Rails.application.routes.draw do
26 26
27 get 'thinks/:slug', to: 'streams#show', as: :stream 27 get 'thinks/:slug', to: 'streams#show', as: :stream
28 28
29 resources :tags, only: [], param: :name do
30 collection do
31 get 'suggest'
32 end
33 end
34
29 mount Pokeviewer::Engine => '/poke3' 35 mount Pokeviewer::Engine => '/poke3'
30end 36end