From c31ca9c03d2ec22d06b66b98e5751492cfb6ff30 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 eab97ff..2c03735 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -50,8 +50,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