Commit c2ac0490e9ece0a8ea10bccc3cdc2258eddf5790

Authored by Rafael Manzo
1 parent c31ca9c0

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