]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Rename views to rails 2 style names.
[rails.git] / app / controllers / site_controller.rb
index 380c41436d92c4f71993262e4d62e5cf3b817496..daf8fead74ae0a62c4a1207848566938b2576211 100644 (file)
@@ -1,7 +1,9 @@
 class SiteController < ApplicationController
   before_filter :authorize_web
+  before_filter :set_locale
+  before_filter :require_user, :only => [:edit]
 
-  def index
-
+  def export
+    render :action => 'index'
   end
 end