Skip to content

Commit

Permalink
Fix user routes error
Browse files Browse the repository at this point in the history
except: :all doesn't actually work, this satisfies the intended
behavior.
x
  • Loading branch information
zachlatta committed Jan 27, 2018
1 parent c2c2a7b commit 4a86987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

resources :applicant_profiles, only: %i[show update]

resources :users, except: :all do
resources :users, only: [] do
collection do
post 'auth'
end
Expand Down

0 comments on commit 4a86987

Please sign in to comment.