aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/registrations_controller.rb
diff options
context:
space:
mode:
authorMichel Etienne2015-01-26 13:12:24 +0100
committerMichel Etienne2015-01-26 13:12:24 +0100
commit34dcd6afff1fc8581649cb1b400a66969b0f65ae (patch)
tree59132309c796770ce2275e0317e8bb283ab8612f /app/controllers/registrations_controller.rb
parent657966f57ab15234effcc56d58ff49dace885576 (diff)
parentc3ed60be997734921c8305f24b78e997e52a9cd3 (diff)
downloadchouette-core-34dcd6afff1fc8581649cb1b400a66969b0f65ae.tar.bz2
merge branch V2_5
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r--app/controllers/registrations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index b02d3217a..f563fbb03 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -6,7 +6,7 @@
def accept_user_creation
if !Rails.application.config.accept_user_creation
- redirect_to root_path
+ redirect_to unauthenticated_root_path
return false
else
return true