]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
pass common API error text through to Potlatch so it can be shown to the user
[rails.git] / app / controllers / site_controller.rb
index eebb23301d45050e9e532a0ac6ee5f8a45c3c0a2..4b22e46fd4d0ac39c7c28e5a6e38003cd79b343a 100644 (file)
@@ -1,2 +1,8 @@
 class SiteController < ApplicationController
+  before_filter :authorize_web
+  before_filter :require_user, :only => [:edit]
+
+  def export
+    render :action => 'index'
+  end
 end