lib/generators/geri/install/install_generator.rb in geri-0.1.1 vs lib/generators/geri/install/install_generator.rb in geri-0.1.3

- old
+ new

@@ -7,11 +7,11 @@ def add_mount_point gsub_file('config/routes.rb', 'Rails.application.routes.draw do', <<-EOF Rails.application.routes.draw do # Sets the mounted location of the Geri CMS, if you wish to mount this elsewhere simply update this line. - mount Geri::Engine => / + mount Geri::Engine => '/' EOF ) end def create_site_directory @@ -27,9 +27,10 @@ end def create_assets_directory empty_directory('app/site/assets') empty_directory('app/site/assets/vendor') + empty_directory('app/site/assets/images') end def setup_bower copy_file('bowerrc', 'app/site/.bowerrc') copy_file('bower.json', 'app/site/bower.json')