lib/trestle/engine.rb in trestle-0.10.0 vs lib/trestle/engine.rb in trestle-0.10.1
- old
+ new
@@ -15,10 +15,10 @@
end if defined?(Propshaft)
initializer "trestle.automount" do |app|
if Trestle.config.automount
app.routes.prepend do
- mount Trestle::Engine => Trestle.config.path
+ mount Trestle::Engine, at: Trestle.config.path
end
end
end
initializer "trestle.deprecator" do |app|