Skip to content

Commit

Permalink
Uses html mime type object instead of symbol (yuki24#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-777 committed Feb 15, 2018
1 parent a01936b commit 2e4ff7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rambulance/exceptions_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def process_action(*)
end

# The #format method needs to be called after the sanitization above.
request.formats = request.formats.map(&:ref) << :html
request.formats << Mime::Type.register("text/html", :html)

super
end
Expand Down

0 comments on commit 2e4ff7f

Please sign in to comment.