From eb1e8713d4f3889fddd5091b3f48c8ff4f38ea53 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Thu, 4 Jun 2015 14:06:06 -0300 Subject: [PATCH] [Colab] Scoped omniauth callback statically --- config/routes.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index ba44b4c..d5cedb6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -46,8 +46,10 @@ Rails.application.routes.draw do root "home#index" end - # See comment above for devise_for - devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" } + scope "mezuro" do + # See comment above for devise_for + devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" } + end # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". -- libgit2 0.21.2