✂️ cut trailing whitespace
This commit is contained in:
parent
e234e8380f
commit
2016c664b8
@ -4,20 +4,20 @@
|
||||
|
||||
```ruby
|
||||
class ApplicationController < ActionController::Base
|
||||
# Allow only browsers natively supporting webp images, web push, badges, import maps, CSS nesting + :has
|
||||
# Allow only browsers natively supporting webp images, web push, badges, import maps, CSS nesting + :has
|
||||
allow_browser versions: :modern
|
||||
end
|
||||
|
||||
|
||||
class ApplicationController < ActionController::Base
|
||||
# All versions of Chrome and Opera will be allowed, but no versions of "internet explorer" (ie). Safari needs to be 16.4+ and Firefox 121+.
|
||||
allow_browser versions: { safari: 16.4, firefox: 121, ie: false }
|
||||
end
|
||||
|
||||
|
||||
class MessagesController < ApplicationController
|
||||
# In addition to the browsers blocked by ApplicationController, also block Opera below 104 and Chrome below 119 for the show action.
|
||||
allow_browser versions: { opera: 104, chrome: 119 }, only: :show
|
||||
end
|
||||
```
|
||||
```
|
||||
|
||||
*DHH*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user