Fixed quotes in environment example in Rails Application Templates guide.
This commit is contained in:
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`.
|
||||
|
||||
```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.
|
||||
|
Loading…
Reference in New Issue
Block a user