def create @<%= singular_name %> = <%= class_name %>.new(params[:<%= singular_name %>]) if @<%= singular_name %>.save redirect_to(<%= item_path('url') %>, :notice => "Successfully created <%= model_name.underscore.humanize.downcase %>.") else render :new end end