Fixed quotes in environment example in Rails Application Templates guide.

This commit is contained in:
Dan Erikson 2013-05-27 13:52:04 -06:00
parent 04f00c6217
commit ff684ea3bf

@ -91,7 +91,7 @@ Adds a line inside the `Application` class for `config/application.rb`.
If `options[:env]` is specified, the line is appended to the corresponding file in `config/environments`. If `options[:env]` is specified, the line is appended to the corresponding file in `config/environments`.
```ruby ```ruby
environment 'config.action_mailer.default_url_options = {host: 'http://yourwebsite.example.com'}, env: 'production' environment 'config.action_mailer.default_url_options = {host: "http://yourwebsite.example.com"}', env: 'production'
``` ```
A block can be used in place of the `data` argument. A block can be used in place of the `data` argument.