]> git.openstreetmap.org Git - rails.git/blob - app/controllers/site_controller.rb
Merge 16070:16110 from trunk.
[rails.git] / app / controllers / site_controller.rb
1 class SiteController < ApplicationController
2   layout 'site',:except => [:key]
3
4   before_filter :authorize_web
5   before_filter :set_locale
6   before_filter :require_user, :only => [:edit]
7
8   def export
9     render :action => 'index'
10   end
11
12   def key
13     expires_in 7.days, :public => true
14   end
15 end