You cannot say this because url_for
only takes one parameter:
url_for(@deal, :tab => 'general') # won't work
Just use polymorphic_url
instead:
polymorphic_url(@deal, :tab => 'general')
Posted by Henning Koch to makandra dev (2011-07-19 17:09)
You cannot say this because url_for
only takes one parameter:
url_for(@deal, :tab => 'general') # won't work
Just use polymorphic_url
instead:
polymorphic_url(@deal, :tab => 'general')