lib/generators/nifty/scaffold/templates/actions/show.rb in nifty-generators-0.4.3 vs lib/generators/nifty/scaffold/templates/actions/show.rb in nifty-generators-0.4.4
- old
+ new
@@ -1,3 +1,3 @@
def show
- @<%= singular_name %> = <%= class_name %>.find(params[:id])
+ @<%= instance_name %> = <%= class_name %>.find(params[:id])
end