mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use reserved domain for example configuration
Updates the generator output to use a reserved domain[1] instead of a potentially real world domain. [1]: https://tools.ietf.org/html/rfc2606#section-3
This commit is contained in:
parent
340667243c
commit
6c5acd5bc1
3 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
f.microphone :none
|
||||
f.usb :none
|
||||
f.fullscreen :self
|
||||
f.payment :self, "https://secure-example.com"
|
||||
f.payment :self, "https://secure.example.com"
|
||||
end
|
||||
```
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ module ActionController #:nodoc:
|
|||
# f.microphone :none
|
||||
# f.usb :none
|
||||
# f.fullscreen :self
|
||||
# f.payment :self, "https://secure-example.com"
|
||||
# f.payment :self, "https://secure.example.com"
|
||||
# end
|
||||
#
|
||||
# # Controller level policy
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
# f.microphone :none
|
||||
# f.usb :none
|
||||
# f.fullscreen :self
|
||||
# f.payment :self, "https://secure-example.com"
|
||||
# f.payment :self, "https://secure.example.com"
|
||||
# end
|
||||
|
|
Loading…
Reference in a new issue