Skip to content

Commit 820fbd9

Browse files
Merge pull request rails#45530 from skipkayhil/rm-add-sprockets-during-update
Remove adding sprockets during app:update
2 parents 77f7b8c + 4fae98c commit 820fbd9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

railties/lib/rails/generators/rails/app/app_generator.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ def config_when_updating
172172
remove_file "config/initializers/permissions_policy.rb"
173173
end
174174
end
175-
176-
if !skip_sprockets?
177-
insert_into_file "config/application.rb", %(require "sprockets/railtie"), after: /require\(["']rails\/all["']\)\n/
178-
end
179175
end
180176

181177
def master_key

0 commit comments

Comments
 (0)