Commit b24496ad16b8d2000216bd284b80adcd92017b82

Authored by Rafael Manzo
1 parent eb1e8713

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
@@ -46,10 +46,8 @@ Rails.application.routes.draw do @@ -46,10 +46,8 @@ Rails.application.routes.draw do
46 root "home#index" 46 root "home#index"
47 end 47 end
48 48
49 - scope "mezuro" do  
50 - # See comment above for devise_for  
51 - devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }  
52 - end 49 + # See comment above for devise_for
  50 + devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }
53 51
54 # The priority is based upon order of creation: first created -> highest priority. 52 # The priority is based upon order of creation: first created -> highest priority.
55 # See how all your routes lay out with "rake routes". 53 # See how all your routes lay out with "rake routes".