Add featured tags API (#11778)
* Add featured tags API * Remove show and update, change scope, fix code style
This commit is contained in:
parent
a75009a65e
commit
9c9dcf580a
4 changed files with 75 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue