diff --git a/lib/locomotive/action_controller/responder.rb b/lib/locomotive/action_controller/responder.rb index a474751d..4afa475f 100644 --- a/lib/locomotive/action_controller/responder.rb +++ b/lib/locomotive/action_controller/responder.rb @@ -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?