My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 63 attachment: deprecated_render_in_sections_destroy.patch (624 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
Index: /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/admin/sections_controller.rb
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/admin/sections_controller.rb (revision 43)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/admin/sections_controller.rb (working copy)
@@ -73,6 +74,6 @@
section_id = @section.id
@section.destroy
# Render nothing to denote success
- render_text ""
+ render :text => ""
end
end

Powered by Google Project Hosting