btw, found not much time ago, that you need to do
:conditions => {:method => :put}
instead of just
:method => :put
in routes.rb when define a route
'
On Sat, Apr 17, 2010 at 4:01 PM, Colin Law wrote:
> On 17 April 2010 09:29, Heinz Strunk wrote:
> > Colin Law wrote:
> >>
> >> Have you checked
On 17 April 2010 09:29, Heinz Strunk wrote:
> Colin Law wrote:
>>
>> Have you checked the html generated by the link, and looked in the log
>> to see if anything useful there?
>>
>> Colin
>
> Yeah, what's the output of
> <%= link_to 'Recalculate', item_cost_path(:recalc => 1), :method
> => :put %>
Colin Law wrote:
>
> Have you checked the html generated by the link, and looked in the log
> to see if anything useful there?
>
> Colin
Yeah, what's the output of
<%= link_to 'Recalculate', item_cost_path(:recalc => 1), :method
=> :put %>?
--
Posted via http://www.ruby-forum.com/.
--
You rec
3 matches
Mail list logo