I have added a patch to ticket #805 that fixes what I believe is a behavior that violates the principle of least surprise.
If the current URI is '/blog/posts' then current_page?(:controller => 'blog', :action => 'posts') returns true as expected. However if the current URI is '/blog/posts?order=desc' then current_page?(:controller => 'blog', :action => 'posts') returns false. Shouldn't it also return true in this case? I think so. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
