# GET /<%= plural_name %>/new # GET /<%= plural_name %>/new.xml def new @<%= singular_name %> = <%= class_name %>.new respond_to do |format| format.html # new.html.<%= view_language %> format.xml { render :xml => @<%= singular_name %> } end end