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-8.0.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-8.0.0.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.2.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-8.0.0 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-8.0.0.rc2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.1.2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-8.0.0.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.1.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-8.0.0.beta1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
omg-railties-8.0.0.alpha9 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
omg-railties-8.0.0.alpha8 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
omg-railties-8.0.0.alpha7 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
omg-railties-8.0.0.alpha4 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
omg-railties-8.0.0.alpha3 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.0 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.0.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.0.beta3 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-7.2.0.beta2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt