Fix syntax error with ruby 2.5

This commit is contained in:
Tom Hughes 2018-04-28 17:12:27 +01:00
parent cb0c185ce6
commit d7b43c5f17

View 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