From d7b43c5f1723e70eb8e6ae6fc276af24f6758283 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 28 Apr 2018 17:12:27 +0100 Subject: [PATCH] Fix syntax error with ruby 2.5 --- app/controllers/browse_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 41fa14aae..b4cb4594f 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -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 -- 2.43.2