Skip to content

Commit

Permalink
[#6] Remove keywords#create action from routes
Browse files Browse the repository at this point in the history
  • Loading branch information
malparty committed Jun 28, 2021
1 parent 0807c5a commit 8a12b3f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions config/routes.rb
@@ -1,16 +1,12 @@
Rails.application.routes.draw do
use_doorkeeper do
skip_controllers :authorizations, :applications, :authorized_applications
end
root to: 'keywords#index'

use_doorkeeper do
skip_controllers :authorizations, :authorized_applications, :tokens, :token_info
end

devise_for :users

root to: 'keywords#index'

resources :keywords, only: :index

resources :users, only: %i[create]
Expand Down

0 comments on commit 8a12b3f

Please sign in to comment.