0
0
Fork 0

Add featured tags API (#11778)

* Add featured tags API

* Remove show and update, change scope, fix code style
This commit is contained in:
Takeshi Umeda 2019-09-09 17:50:33 +09:00 committed by Eugen Rochko
parent a75009a65e
commit 9c9dcf580a
4 changed files with 75 additions and 0 deletions

View file

@ -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