From 8a78019ba7acddc53b58686b5b5003fc78106e2f Mon Sep 17 00:00:00 2001 From: Damian Legawiec Date: Fri, 11 Mar 2016 12:17:04 +0100 Subject: [PATCH] Installer uses new ruby syntax for adding Spree root mount point --- core/lib/generators/spree/install/install_generator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/generators/spree/install/install_generator.rb b/core/lib/generators/spree/install/install_generator.rb index 0908037c2fe..e71cdfaa4db 100644 --- a/core/lib/generators/spree/install/install_generator.rb +++ b/core/lib/generators/spree/install/install_generator.rb @@ -167,7 +167,7 @@ def notify_about_routes # If you would like to change where this engine is mounted, simply change the :at option to something different. # # We ask that you don't use the :as option here, as Spree relies on it being the default of "spree" - mount Spree::Core::Engine, :at => '/' + mount Spree::Core::Engine, at: '/' } end @@ -175,7 +175,7 @@ def notify_about_routes puts "*" * 50 puts "We added the following line to your application's config/routes.rb file:" puts " " - puts " mount Spree::Core::Engine, :at => '/'" + puts " mount Spree::Core::Engine, at: '/'" end end