Commit 0fe19156af8ca759e6153b6641823af749b1245b

Authored by Rafael Manzo
1 parent 8d1e167c

Revert "[Colab] Scoped omniauth callback statically"

This reverts commit eb1e8713d4f3889fddd5091b3f48c8ff4f38ea53.

The right way to set the subdirectory is by setting the Rack mount on config.ru
or on the webserver like apache or nginx.
Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
config/routes.rb
@@ -52,10 +52,8 @@ Rails.application.routes.draw do @@ -52,10 +52,8 @@ Rails.application.routes.draw do
52 root "home#index" 52 root "home#index"
53 end 53 end
54 54
55 - scope "mezuro" do  
56 - # See comment above for devise_for  
57 - devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }  
58 - end 55 + # See comment above for devise_for
  56 + devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }
59 57
60 # The priority is based upon order of creation: first created -> highest priority. 58 # The priority is based upon order of creation: first created -> highest priority.
61 # See how all your routes lay out with "rake routes". 59 # See how all your routes lay out with "rake routes".