diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2015-05-08 16:20:27 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2015-05-08 16:20:27 +0000 |
commit | 9c290fbe7f64e686416b7ca8590b680cf14e6357 (patch) | |
tree | c3c31ca5ace01382deeb2fa9ff6d4b4ca6e063aa /guides/source/action_mailer_basics.md | |
parent | 0b305bfe1a46b43f4954e5e692a8d7b905cd72d4 (diff) | |
parent | 92c0af217446ec8f557f9d47a04a0d19fc58b4a5 (diff) | |
download | rails-9c290fbe7f64e686416b7ca8590b680cf14e6357.tar.gz rails-9c290fbe7f64e686416b7ca8590b680cf14e6357.tar.bz2 rails-9c290fbe7f64e686416b7ca8590b680cf14e6357.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'guides/source/action_mailer_basics.md')
-rw-r--r-- | guides/source/action_mailer_basics.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md index 089ce53f07..92a4081233 100644 --- a/guides/source/action_mailer_basics.md +++ b/guides/source/action_mailer_basics.md @@ -503,7 +503,7 @@ You will need to use: By using the full URL, your links will now work in your emails. -#### generating URLs with `url_for` +#### Generating URLs with `url_for` `url_for` generate full URL by default in templates. @@ -517,7 +517,7 @@ If you did not configure the `:host` option globally make sure to pass it to action: 'greeting') %> ``` -#### generating URLs with named routes +#### Generating URLs with Named Routes Email clients have no web context and so paths have no base URL to form complete web addresses. Thus, you should always use the "_url" variant of named route |