Sha256: f7d285bc58cd4134d0dd81ec2a10c756e12b03e05f942bb341b6303cdd0912cf
Contents?: true
Size: 275 Bytes
Versions: 21
Compression:
Stored size: 275 Bytes
Contents
class ApplicationController < ActionController::<%= options.api? ? "API" : "Base" %> <%- unless options.api? -%> # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has. allow_browser versions: :modern <% end -%> end
Version data entries
21 entries across 21 versions & 2 rubygems
Version | Path |
---|---|
railties-7.2.0.beta1 | lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt |