lib/scrivito/sdk_engine.rb in scrivito_sdk-1.0.0 vs lib/scrivito/sdk_engine.rb in scrivito_sdk-1.1.0.rc1

- old
+ new

@@ -37,9 +37,13 @@ include Scrivito::ControllerHelper end end + initializer "scrivito.routing_extensions" do + ActionDispatch::Routing::Mapper.__send__(:include, Scrivito::RoutingExtensions) + end + initializer 'scrivito.add_sdk_assets' do |app| # Specify which file should be precompiled for packaging app.config.assets.precompile += %w[ scrivito.css scrivito.js