Commit c1159eab3644eee2306b34355003c8c58ae2893d

Authored by Rafael Manzo
Committed by Diego Camarinha
1 parent e60eca27

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".
... ...