lib/generators/loadbehind/loadbehind_generator.rb in casey_jones-0.0.101 vs lib/generators/loadbehind/loadbehind_generator.rb in casey_jones-0.0.102
- old
+ new
@@ -13,10 +13,10 @@
IMAGES.each do |image|
copy_file "images/#{image}.png", "public/images/growl/#{image}.png"
end
- ["index", "show"].each do |act|
+ ["index", "show", "create"].each do |act|
self.action_name = act
template "view.js.haml", "#{view_dir}/#{action_name}.js.haml"
end
self.action_name = "show"
template "view.js.haml", "#{view_dir}/update.js.haml"