1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in implicit_render

When trying to make a request and the request doesn't have a suitable template, the new error messages are really helpful but there's a small (and I mean, VERY small) typo that has been bugging me for the last few days. This adds the space and restores order to the universe. ❤️
This commit is contained in:
Max Woolf 2016-03-02 09:39:17 +00:00
parent fc1b32f8d1
commit 9cb7a22811

View file

@ -42,7 +42,7 @@ module ActionController
"action but none of them were suitable for this request.\n\n" \ "action but none of them were suitable for this request.\n\n" \
"This usually happens when the client requested an unsupported format " \ "This usually happens when the client requested an unsupported format " \
"(e.g. requesting HTML content from a JSON endpoint or vice versa), but " \ "(e.g. requesting HTML content from a JSON endpoint or vice versa), but " \
"it might also be failing due to other constraints, such as locales or" \ "it might also be failing due to other constraints, such as locales or " \
"variants.\n" "variants.\n"
if request.formats.any? if request.formats.any?