lib/generators/initjs/install/install_generator.rb in initjs-1.0.1 vs lib/generators/initjs/install/install_generator.rb in initjs-2.0.0.beta1
- old
+ new
@@ -16,10 +16,10 @@
def create_app_file
template "app.coffee", "#{application_path}/#{application_name.underscore}.js.coffee"
# Alerts
puts "\n\nInclude the Initjs tag in your application layout (usually found at app/view/layouts/application.html.erb) after the body tag."
- puts "<%= initjs_tag app_name: '#{application_name}' %>"
+ puts "<%= initjs_tag '#{application_name}' %>"
end
end
end
end