From 6f6ce1cc2cdea3f71dc750829faeeb4afe8bfaac 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 aefd4ca..3ca9709 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -52,8 +52,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