app/controllers/concerns/blacklight/token_based_user.rb in blacklight-7.0.0.rc1 vs app/controllers/concerns/blacklight/token_based_user.rb in blacklight-7.0.0.rc2

- old
+ new

@@ -1,10 +1,12 @@ # frozen_string_literal: true module Blacklight::TokenBasedUser extend ActiveSupport::Concern included do - helper_method :encrypt_user_id + if respond_to? :helper_method + helper_method :encrypt_user_id + end rescue_from Blacklight::Exceptions::ExpiredSessionToken do head :unauthorized end end