aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorMichel Etienne2015-01-09 16:11:33 +0100
committerMichel Etienne2015-01-09 16:11:33 +0100
commit83f9d8cf48fb832b43f0ea08d6ee53eef1be734a (patch)
tree68e44e3f377a67dbd607ff7de9d7be2558b205ae /app/controllers
parent913bc3b257a8e3066388a8f2260756e97756a225 (diff)
parentef4cc372d9dffe91354fb5ea5b44ef46a86677c4 (diff)
downloadchouette-core-83f9d8cf48fb832b43f0ea08d6ee53eef1be734a.tar.bz2
add tests for hub export
Diffstat (limited to 'app/controllers')
-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