Displaying 1 result from an estimated 1 matches for "content_object".
2008 Mar 28
0
Problems with URL encoding
...ve a problem when sending parameters from link_to_remote. My link
code:
<%= link_to_remote "Remove",
:url => object_relation_path(
:id => 0,
:object_relation => {
:parent_id => @product.id,
:parent_type => "Product",
:child_id => content_object.id,
:child_type => "ContentObject",
:relation_type_id => 1000
},
:format => :partial,
:response_template => "products/#{@product.product_type}/show/
partials/related_content"),
:update => "related_content_wrapper",
:method =&g...