]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Update translation keys for renaming of user#view to user#show
[rails.git] / app / controllers / browse_controller.rb
index 41fa14aae07ff05a9f7aa6369fe5184cd208a576..b4cb4594fb43e7dcffa9694e7b8919961e4cdfdf 100644 (file)
@@ -3,7 +3,7 @@ class BrowseController < ApplicationController
 
   before_action :authorize_web
   before_action :set_locale
-  before_action :except => [:query] { |c| c.check_database_readable(true) }
+  before_action(:except => [:query]) { |c| c.check_database_readable(true) }
   before_action :require_oauth
   around_action :web_timeout