#81 ✓resolved
Lucas Efe

Overriding search options

Reported by Lucas Efe | April 13th, 2009 @ 07:20 PM

Sorry to bother you with this question, but I cant find a way to override the inferred url on the page_links helper method.

I want to change the default. For instance, if I have: /users, I want to change it to /special_users.

Can you point me to the correct direction?

Comments and changes to this ticket

  • Lucas Efe

    Lucas Efe April 14th, 2009 @ 08:32 AM

    Ben, I already solve my problem. It was simple, but I wasn't finding anything about it on the code.

    page_link :params => {:action => 'my_other_action'}

    Thanks for this great library.

  • Ben Johnson

    Ben Johnson April 16th, 2009 @ 03:20 AM

    • State changed from “new” to “resolved”

    Yeah, I was about to say that. Thanks!

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket

Pages