lib/templates/actions/edit.rb in thesilverspoon-0.0.4 vs lib/templates/actions/edit.rb in thesilverspoon-0.0.5
- old
+ new
@@ -1,4 +1,6 @@
def edit
@<%= instance_name %> = <%= class_name %>.find(params[:id])
+if !params[:get].nil?
render :layout=>false
- end
\ No newline at end of file
+end
+ end