]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
initial untest nginx config. API 0.6 tweaking still required.
[rails.git] / app / controllers / site_controller.rb
index d01b86bba5395b6ed0347474665190d2249e0f37..4b22e46fd4d0ac39c7c28e5a6e38003cd79b343a 100644 (file)
@@ -1,5 +1,8 @@
 class SiteController < ApplicationController
-  def index
+  before_filter :authorize_web
+  before_filter :require_user, :only => [:edit]
 
+  def export
+    render :action => 'index'
   end
 end