Commit eb1e8713d4f3889fddd5091b3f48c8ff4f38ea53
1 parent
4211de4d
[Colab] Scoped omniauth callback statically
Devise does no accept the dynamic route. This solution implies that, if the subdirectory changes the route should change as well and it will not answer without the subdirectory. Signed off by: Gustavo Jaruga <darksshades@hotmail.com>
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
config/routes.rb
... | ... | @@ -46,8 +46,10 @@ Rails.application.routes.draw do |
46 | 46 | root "home#index" |
47 | 47 | end |
48 | 48 | |
49 | - # See comment above for devise_for | |
50 | - devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" } | |
49 | + scope "mezuro" do | |
50 | + # See comment above for devise_for | |
51 | + devise_for :users, only: :omniauth_callbacks, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" } | |
52 | + end | |
51 | 53 | |
52 | 54 | # The priority is based upon order of creation: first created -> highest priority. |
53 | 55 | # See how all your routes lay out with "rake routes". | ... | ... |
-
mentioned in commit b24496ad16b8d2000216bd284b80adcd92017b82
-
mentioned in commit da0bdf059748167125b94f9d9f68d0ba8694446e
-
mentioned in commit 0fe19156af8ca759e6153b6641823af749b1245b
-
mentioned in commit e06c85b56406ada4b85cd785fa999caa606b284b
-
mentioned in commit bd6de12bee70afca2a6d26ed795d390478a85c80
-
mentioned in commit c1159eab3644eee2306b34355003c8c58ae2893d
-
mentioned in commit c2ac0490e9ece0a8ea10bccc3cdc2258eddf5790
-
mentioned in commit 556ebb24b20b72c1483804a530cf99bebbd69390
-
mentioned in commit 7e888e2556cc4f5c1a0717c88b298518dfc57b7a
-
mentioned in commit 860c77ca3afe0cd60adafe4344bff23156f4c2b2
-
mentioned in commit 8262ef7adeca857ce725c6d2f0f6d947141b09cc