Skip to content

Commit

Permalink
Merge pull request rails#45530 from skipkayhil/rm-add-sprockets-durin…
Browse files Browse the repository at this point in the history
…g-update

Remove adding sprockets during app:update
  • Loading branch information
jonathanhefner authored Oct 29, 2023
2 parents 77f7b8c + 4fae98c commit 820fbd9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions railties/lib/rails/generators/rails/app/app_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@ def config_when_updating
remove_file "config/initializers/permissions_policy.rb"
end
end

if !skip_sprockets?
insert_into_file "config/application.rb", %(require "sprockets/railtie"), after: /require\(["']rails\/all["']\)\n/
end
end

def master_key
Expand Down

0 comments on commit 820fbd9

Please sign in to comment.