Commit 7e888e2556cc4f5c1a0717c88b298518dfc57b7a

Authored by Rafael Manzo
Committed by Rafael Reggiani Manzo
1 parent a76460f4

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 52 root "home#index"
53 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 58 # The priority is based upon order of creation: first created -> highest priority.
61 59 # See how all your routes lay out with "rake routes".
... ...