Move link header setting to after_action (#24251)
This commit is contained in:
@ -10,7 +10,8 @@ module AccountControllerConcern
|
||||
|
||||
included do
|
||||
before_action :set_instance_presenter
|
||||
before_action :set_link_headers, if: -> { request.format.nil? || request.format == :html }
|
||||
|
||||
after_action :set_link_headers, if: -> { request.format.nil? || request.format == :html }
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user