form_for(@post) breaks too.
On 7 апр, 03:03, Skaurus <[email protected]> wrote:
> And url-generation for this routes a pretty ugly in views: instead of
> show_post_path I write now show_post_url(:user_id =>
> post.author_id, :post_id => post.id)
>
> Maybe some another way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---