lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-1.3.1 vs lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-1.4.0.rc1

- old
+ new

@@ -74,10 +74,10 @@ " # See the documentation of 'scrivito_route' for a detailed description.\n"\ " scrivito_route '/', using: 'homepage'\n"\ " scrivito_route '(/)(*slug-):id', using: 'slug_id'\n"\ " scrivito_route '/*permalink', using: 'permalink', format: false\n"\ - inject_into_file 'config/routes.rb', definition, before: /^end\s*\z/, verbose: false + inject_into_file 'config/routes.rb', definition, before: /^\s*end\s*\z/, verbose: false end end end end