Skip to content

Commit ade9ec5

Browse files
dadachiclaude
andcommitted
Add allow_browser :modern and clean up assets initializer
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d7956a9 commit ade9ec5

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
class NonApiApplicationController < ActionController::Base
2+
allow_browser versions: :modern
23
protect_from_forgery with: :exception
34
end

config/initializers/assets.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,3 @@
55

66
# Add additional assets to the asset load path.
77
# Rails.application.config.assets.paths << Emoji.images_path
8-
9-
# Precompile additional assets.
10-
# application.js, application.css, and all non-JS/CSS in the app/assets
11-
# folder are already added.
12-
# Rails.application.config.assets.precompile += %w( admin.js admin.css )

0 commit comments

Comments
 (0)