Skip to content

Commit

Permalink
order routes correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
christinalcole committed Sep 8, 2017
1 parent 432ba12 commit db297bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Rails.application.routes.draw do

devise_for :users, :controllers => {:omniauth_callbacks => 'users/omniauth_callbacks'}
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'application#index'

resources :users do
scope module: :users do
resources :positions
end
end
devise_for :users, :controllers => {:omniauth_callbacks => 'users/omniauth_callbacks'}
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'application#index'
end

0 comments on commit db297bf

Please sign in to comment.