diff options
author | Tammer Saleh <tsaleh@thoughtbot.com> | 2008-06-20 15:21:04 -0400 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-22 18:58:47 -0700 |
commit | bb6e8eea5a8190aaab67da0a7efedb3bb3d9fccb (patch) | |
tree | 099fea2c0fd42c87044889deae59e652e9a09f00 /actionpack/lib/action_pack.rb | |
parent | a210f503619dd27dc9575bcae1df596fd2387563 (diff) | |
download | rails-bb6e8eea5a8190aaab67da0a7efedb3bb3d9fccb.tar.gz rails-bb6e8eea5a8190aaab67da0a7efedb3bb3d9fccb.tar.bz2 rails-bb6e8eea5a8190aaab67da0a7efedb3bb3d9fccb.zip |
Fixed polymorphic_url to be able to handle singleton resources.
Example usage:
polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post)
[#461 state:resolved]
Diffstat (limited to 'actionpack/lib/action_pack.rb')
0 files changed, 0 insertions, 0 deletions