current_page?(:action => 'edit', :controller => 'admin/products') fails with an ActionView::TemplateError (No route matches ...) unless I'm in the edit action or I provide the :id.
Route: /admin/products/:id/edit(.:format) {:action => 'edit', :controller => 'admin/products'} I understand why this happens, but is there a way to make current_page? check for edit routes without specifying an id? Thanks -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.