X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/02bdc8f1ad98edf38d99e95c997d607a0ed291bd..030bb31ec1a4f3b20f82ed7e4395189ecb8f5345:/app/controllers/site_controller.rb?ds=inline diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 606143f4f..1ea3f7cb0 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -5,6 +5,7 @@ class SiteController < ApplicationController before_filter :authorize_web before_filter :set_locale before_filter :require_user, :only => [:edit] + before_filter :require_oauth, :only => [:index] def index unless STATUS == :database_readonly or STATUS == :database_offline