]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Added login banner letting users more aware of the license change
[rails.git] / app / controllers / user_controller.rb
index a354fb0ef041259ce875c03724fb11b6c1ff99c4..93ca03d660e8fc00a374b2af9b26e33eb84cf8b2 100644 (file)
@@ -24,7 +24,7 @@ class UserController < ApplicationController
 
     if request.xhr?
       render :update do |page|
-        page.replace_html "contributorTerms", :partial => "terms"
+        page.replace_html "contributorTerms", :partial => "terms", :locals => { :has_decline => params[:has_decline] }
       end
     else
       @title = t 'user.terms.title'