diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-07 17:20:08 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-07 17:20:08 -0400 |
commit | 5be9480128b2841647b204ba19ec9f45dac438f5 (patch) | |
tree | b83441962e485e70d239a3ad8b9bf6ae6d9d5db6 /config | |
parent | a4779bdb3baf50b477bbe166f7b1d873d75e506f (diff) | |
download | thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.tar.gz thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.tar.bz2 thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.zip |
Added tag autocompletion
refs #2
Diffstat (limited to 'config')
-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 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' |
30 | end | 36 | end |