Commit 6f0ad862f5d885ee86df4ded93bc97cebe4e74f0

Authored by Rafael Manzo
1 parent 026f356f

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