lib/generators/adhoc/portfolio/templates/actions/index.rb in adhoc-generators-0.0.3 vs lib/generators/adhoc/portfolio/templates/actions/index.rb in adhoc-generators-0.0.4
- old
+ new
@@ -1,3 +1,3 @@
def index
- @<%= instances_name %> = <%= class_name %>.all
+ @<%= instances_name %> = <%= model_name %>.all
end