]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Use association names with :joins instead of writing the SQL for the
[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