lib/eyeballs/scaffold_generator.rb in eyeballs-0.5.2 vs lib/eyeballs/scaffold_generator.rb in eyeballs-0.5.3

- old
+ new

@@ -27,12 +27,12 @@ def build_the_controller template "templates/scaffold_controller.js", "#{app_path}/app/controllers/#{name.downcase.pluralize}_controller.js" end def build_the_views - template "templates/scaffold_index.html", "#{app_path}/#{name.downcase.pluralize}.html" + template "templates/scaffold_index.html", "#{public_path}/#{name.downcase.pluralize}.html" template "templates/scaffold_partial.html.mustache", "#{app_path}/app/views/#{name.downcase.pluralize}/_#{name.downcase}.html.mustache" - template "#{app_path}/templates/scaffold_edit.html.mustache", "app/views/#{name.downcase.pluralize}/edit.html.mustache" + template "templates/scaffold_edit.html.mustache", "#{app_path}/app/views/#{name.downcase.pluralize}/edit.html.mustache" end def farewell $stdout.puts "Your scaffold is ready to rumble!" end \ No newline at end of file