lib/rails/generators/humdrum/layout/layout_generator.rb in humdrum-rails-0.0.9 vs lib/rails/generators/humdrum/layout/layout_generator.rb in humdrum-rails-0.1.1
- old
+ new
@@ -77,11 +77,11 @@
def generate_javascripts
unless options.skip_javascript?
template "javascripts/application.js", "app/assets/javascripts/application.js"
template "javascripts/validations/#{framework}/main.js", "app/assets/javascripts/validations/main.js"
- copy_file "javascripts/modernizr.2.6.2.js", "app/assets/javascripts/modernizr.2.6.2.js"
+ #copy_file "javascripts/modernizr.2.6.2.js", "app/assets/javascripts/modernizr.2.6.2.js"
case framework
when "bootstrap3"
copy_file "javascripts/bootstrap3/bootstrap.min.js", "app/assets/javascripts/bootstrap.min.js"
copy_file "javascripts/bootstrap3/utilities.js", "app/assets/javascripts/utilities.js"
when "bootstrap2"
@@ -110,9 +110,10 @@
end
end
end
def generate_helpers
+ template "helpers/image_helper.rb", "app/helpers/image_helper.rb"
template "helpers/title_helper.rb", "app/helpers/title_helper.rb"
template "helpers/navigation_helper.rb", "app/helpers/navigation_helper.rb"
template "helpers/meta_tags_helper.rb", "app/helpers/meta_tags_helper.rb"
template "helpers/display_helper.rb", "app/helpers/display_helper.rb"
template "helpers/params_parser_helper.rb", "app/helpers/params_parser_helper.rb"
\ No newline at end of file