aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJacob Bednarz <jacob.bednarz@gmail.com>2019-07-15 07:10:22 +1000
committerJacob Bednarz <jacob.bednarz@gmail.com>2019-07-15 08:16:51 +1000
commit6c5acd5bc1efbeca4384353fcde946fc83ae094d (patch)
tree99e2b9d58ce445786c131c70ce2f555c402f43e7 /actionpack
parent340667243c12b7ba879e0e2db71b3f8843f75379 (diff)
downloadrails-6c5acd5bc1efbeca4384353fcde946fc83ae094d.tar.gz
rails-6c5acd5bc1efbeca4384353fcde946fc83ae094d.tar.bz2
rails-6c5acd5bc1efbeca4384353fcde946fc83ae094d.zip
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
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md2
-rw-r--r--actionpack/lib/action_controller/metal/feature_policy.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 72d6c46782..8e36df1bcc 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -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
```
diff --git a/actionpack/lib/action_controller/metal/feature_policy.rb b/actionpack/lib/action_controller/metal/feature_policy.rb
index eecca20dda..a627eabea6 100644
--- a/actionpack/lib/action_controller/metal/feature_policy.rb
+++ b/actionpack/lib/action_controller/metal/feature_policy.rb
@@ -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