with this
:requirements => { :context_type => 'addresses'}
and then in you controller check context_type == "addresses"its checked by the router instead of the controller On Sat, Sep 11, 2010 at 2:35 PM, Robert Pankowecki (rupert) < [email protected]> wrote: > Yes. It works ok with code that look something like that : > > request.fullpath.include?(mailing_addresses_path) > > Robert Pankowecki > > -- > 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]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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.

