Skip to content

Commit

Permalink
Installer uses new ruby syntax for adding Spree root mount point
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec authored and Mafi88 committed Mar 14, 2016
1 parent 5acaf0f commit 8a78019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/generators/spree/install/install_generator.rb
Expand Up @@ -167,15 +167,15 @@ 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

unless options[:quiet]
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

Expand Down

0 comments on commit 8a78019

Please sign in to comment.