Allow all browsers
This commit is contained in:
@@ -6,7 +6,7 @@ class ApplicationController < ActionController::Base
|
|||||||
after_action :verify_authorized
|
after_action :verify_authorized
|
||||||
|
|
||||||
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
|
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
|
||||||
allow_browser versions: :modern
|
allow_browser versions: {}
|
||||||
rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized
|
rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized
|
||||||
layout "authenticated"
|
layout "authenticated"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user