My favorites
▼
|
Sign in
substruct
Open-source Ruby on Rails E-Commerce
Project Home
Downloads
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
51
attachment: wrong_uploaded_file_path_in_content.patch
(799 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/admin/content_nodes_controller.rb
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/admin/content_nodes_controller.rb (revision 43)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/admin/content_nodes_controller.rb (working copy)
@@ -165,7 +166,7 @@
if new_file.save!
files_saved += 1
end
- @content_node.content.gsub!("[file#{files_saved}]", new_file.relative_path)
+ @content_node.content.gsub!("[file#{files_saved}]", new_file.public_filename)
end
end
if files_saved > 0
Powered by
Google Project Hosting