Skip to content

Commit c218fb6

Browse files
authored
Merge pull request rails#54696 from willnet/fix-allow_browser-appear-version
[ci skip]Fix the incorrect version where `allow_browser` was added in the guide
2 parents bd16ad7 + f6507e7 commit c218fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/action_controller_advanced_topics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ in the [Security Guide](security.html#cross-site-request-forgery-csrf).
101101
Controlling Allowed Browser Versions
102102
------------------------------------
103103

104-
Starting with version 8.0, Rails controllers use [`allow_browser`](https://api.rubyonrails.org/classes/ActionController/AllowBrowser/ClassMethods.html#method-i-allow_browser) method in `ApplicationController` to allow only modern browsers by default.
104+
Starting with version 7.2, Rails controllers use [`allow_browser`](https://api.rubyonrails.org/classes/ActionController/AllowBrowser/ClassMethods.html#method-i-allow_browser) method in `ApplicationController` to allow only modern browsers by default.
105105

106106
```ruby
107107
class ApplicationController < ActionController::Base

0 commit comments

Comments
 (0)