diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2019-09-09 17:50:33 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-09 10:50:33 +0200 |
commit | 9c9dcf580ab9b40c3fd420159a0a02ea4dd11925 (patch) | |
tree | 73ca667e26a94ee31dcaba4a824e62d016906756 /config | |
parent | a75009a65e1335047dff5488b4e67bdc03677590 (diff) |
Add featured tags API (#11778)
* Add featured tags API * Remove show and update, change scope, fix code style
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 fe8425341..1ebf9e066 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -380,6 +380,12 @@ Rails.application.routes.draw do resource :accounts, only: [:show, :create, :destroy], controller: 'lists/accounts' end + namespace :featured_tags do + get :suggestions, to: 'suggestions#index' + end + + resources :featured_tags, only: [:index, :create, :destroy] + resources :polls, only: [:create, :show] do resources :votes, only: :create, controller: 'polls/votes' end |