You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/7_2_release_notes.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ rails devcontainer
55
55
56
56
For more information, see the [Getting Started with Dev Containers](https://edgeguides.rubyonrails.org/getting_started_with_devcontainer.html) guide.
57
57
58
-
### Browser version guards
58
+
### Add browser version guard by default
59
59
60
60
Rails now adds the ability to specify the browser versions that will be allowed to access all actions
61
61
(or some, as limited by `only:` or `except:`).
@@ -87,6 +87,8 @@ class MessagesController < ApplicationController
87
87
end
88
88
```
89
89
90
+
Newly generated applications have this guard set in `ApplicationController`.
91
+
90
92
For more information, see the [allow_browser](https://api.rubyonrails.org/classes/ActionController/AllowBrowser/ClassMethods.html#method-i-allow_browser)
0 commit comments