]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
adding the controller code to be able to get a specific version of a node, way or...
[rails.git] / app / controllers / site_controller.rb
index 380c41436d92c4f71993262e4d62e5cf3b817496..4b22e46fd4d0ac39c7c28e5a6e38003cd79b343a 100644 (file)
@@ -1,7 +1,8 @@
 class SiteController < ApplicationController
   before_filter :authorize_web
+  before_filter :require_user, :only => [:edit]
 
-  def index
-
+  def export
+    render :action => 'index'
   end
 end