use a string instead of a symbol for X-Message-Type causing an error in Passenger
This commit is contained in:
parent
b4afec5fd3
commit
51a0862d89
@ -47,7 +47,7 @@ module Locomotive
|
||||
|
||||
unless message.blank?
|
||||
controller.headers['X-Message'] = message
|
||||
controller.headers['X-Message-Type'] = type
|
||||
controller.headers['X-Message-Type'] = type.to_s
|
||||
end
|
||||
|
||||
yield if block_given?
|
||||
|
Loading…
Reference in New Issue
Block a user