]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Force locale on subject translation for diary comment notifications, since the sendin...
[rails.git] / app / controllers / site_controller.rb
index eebb23301d45050e9e532a0ac6ee5f8a45c3c0a2..daf8fead74ae0a62c4a1207848566938b2576211 100644 (file)
@@ -1,2 +1,9 @@
 class SiteController < ApplicationController
+  before_filter :authorize_web
+  before_filter :set_locale
+  before_filter :require_user, :only => [:edit]
+
+  def export
+    render :action => 'index'
+  end
 end