12 lines
311 B
Ruby
12 lines
311 B
Ruby
class ApplicationController < ActionController::Base
|
|
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
|
|
allow_browser versions: :modern
|
|
|
|
before_action :set_controllers
|
|
|
|
private
|
|
def set_controllers
|
|
@controllers = Controller.all
|
|
end
|
|
end
|