Use parentheses
This commit is contained in:
parent
890cb63112
commit
5f60e204d1
1 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,6 @@ Rails.application.configure do
|
||||||
config.lograge.logger = ActiveSupport::Logger.new Rails.root.join('log', "logstash_#{Rails.env}.log")
|
config.lograge.logger = ActiveSupport::Logger.new Rails.root.join('log', "logstash_#{Rails.env}.log")
|
||||||
|
|
||||||
if config.lograge.enabled
|
if config.lograge.enabled
|
||||||
ActiveJobLogSubscriber.attach_to :active_job
|
ActiveJobLogSubscriber.attach_to(:active_job)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue