Commit 8262ef7adeca857ce725c6d2f0f6d947141b09cc

Authored by Rafael Manzo
Committed by Eduardo Silva Araújo
1 parent 2ac1dae9
Exists in colab

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,10 +49,8 @@ Rails.application.routes.draw do
49 root "home#index" 49 root "home#index"
50 end 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 # The priority is based upon order of creation: first created -> highest priority. 55 # The priority is based upon order of creation: first created -> highest priority.
58 # See how all your routes lay out with "rake routes". 56 # See how all your routes lay out with "rake routes".