Commit e06c85b56406ada4b85cd785fa999caa606b284b

Authored by Rafael Manzo
1 parent 0e508fdb

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