]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge pull request #3889 from tomhughes/distances
[rails.git] / app / controllers / users_controller.rb
index 6d98c17f6707e021d62f7c3be49aee81e8d08fbf..abd998030eda898c28d439f82d6156c219c701c9 100644 (file)
@@ -151,7 +151,7 @@ class UsersController < ApplicationController
 
         redirect_to referer || edit_account_path
       elsif params[:decline]
 
         redirect_to referer || edit_account_path
       elsif params[:decline]
-        redirect_to t("users.terms.declined")
+        redirect_to t("users.terms.declined"), :allow_other_host => true
       else
         redirect_to :action => :terms
       end
       else
         redirect_to :action => :terms
       end