File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ class Engine < ::Rails::Engine
3939 end
4040 end
4141
42- initializer "importmap.assets" do
43- if Rails . application . config . respond_to? ( :assets )
44- Rails . application . config . assets . precompile += %w( es-module-shims.js es-module-shims.min.js es-module-shims.js.map )
45- Rails . application . config . assets . paths << Rails . root . join ( "app/javascript" )
46- Rails . application . config . assets . paths << Rails . root . join ( "vendor/javascript" )
42+ initializer "importmap.assets" do | app |
43+ if app . config . respond_to? ( :assets )
44+ app . config . assets . precompile += %w( es-module-shims.js es-module-shims.min.js es-module-shims.js.map )
45+ app . config . assets . paths << Rails . root . join ( "app/javascript" )
46+ app . config . assets . paths << Rails . root . join ( "vendor/javascript" )
4747 end
4848 end
4949
You can’t perform that action at this time.
0 commit comments