]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Make sure all pages using the map layout call require_oauth
[rails.git] / app / controllers / changeset_controller.rb
index 63f9f0f7d4745aceb943f1965ce39ffd60ee954e..e0facfa932fc234580b17aba5fa16594639dbe9d 100644 (file)
@@ -269,6 +269,7 @@ class ChangesetController < ApplicationController
     end
 
     if request.format == :html and !params[:bbox]
+      require_oauth
       render :action => :history, :layout => map_layout
     else
       changesets = conditions_nonempty(Changeset.all)