aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorMax Woolf <maxehmookau@users.noreply.github.com>2016-03-02 09:39:17 +0000
committerMax Woolf <maxehmookau@users.noreply.github.com>2016-03-02 09:39:17 +0000
commit9cb7a22811a72ee69d236d05bf17bc30de863e50 (patch)
treecc096e01ce979e900c3218562692b8021284defc /actionpack/lib/action_controller
parentfc1b32f8d1d26e41fa79d7a38c852acae24c77a0 (diff)
downloadrails-9cb7a22811a72ee69d236d05bf17bc30de863e50.tar.gz
rails-9cb7a22811a72ee69d236d05bf17bc30de863e50.tar.bz2
rails-9cb7a22811a72ee69d236d05bf17bc30de863e50.zip
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. :heart:
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/metal/implicit_render.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/implicit_render.rb b/actionpack/lib/action_controller/metal/implicit_render.rb
index 6b540d42c7..3a6f784507 100644
--- a/actionpack/lib/action_controller/metal/implicit_render.rb
+++ b/actionpack/lib/action_controller/metal/implicit_render.rb
@@ -42,7 +42,7 @@ module ActionController
"action but none of them were suitable for this request.\n\n" \
"This usually happens when the client requested an unsupported format " \
"(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"
if request.formats.any?