diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index fe9ee96..1f1df38 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,7 +12,10 @@ Rails.application.routes.draw do resource :exports, only: %i[new show] end - resources :tags + resources :tags do + get 'search' => 'tags#search' + end + resources :things, except: %i[index] do resources :comments, only: %i[create update destroy] end |
