Commit 860c77ca3afe0cd60adafe4344bff23156f4c2b2

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

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