Skip to content

Commit

Permalink
tried moving users to top of file following a SO answer. Didnt seem t…
Browse files Browse the repository at this point in the history
…o work
  • Loading branch information
jatwell93 committed May 13, 2017
1 parent bf588a9 commit 4e19674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Rails.application.routes.draw do


# users rotues
devise_for :users, :controllers => {registrations: "registrations", omniauth_callbacks: "omniauth_callbacks"}
match '/users/:id/finish_signup' => 'users#finish_signup', via: [:get, :patch], :as => :finish_signup
#workout routes
resources :workouts do
collection do
Expand Down Expand Up @@ -67,9 +69,7 @@
post :untrash
end
end
# users rotues
devise_for :users, :controllers => {registrations: "registrations", omniauth_callbacks: "omniauth_callbacks"}
match '/users/:id/finish_signup' => 'users#finish_signup', via: [:get, :patch], :as => :finish_signup


end

0 comments on commit 4e19674

Please sign in to comment.