Skip to content

Commit 40b578c

Browse files
authored
Fix deprecation in engine mounting (#198)
1 parent af557fb commit 40b578c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/propshaft/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Railtie < ::Rails::Railtie
3939

4040
if config.assets.server
4141
app.routes.prepend do
42-
mount app.assets.server => app.assets.config.prefix
42+
mount app.assets.server, at: app.assets.config.prefix
4343
end
4444
end
4545

0 commit comments

Comments
 (0)