#782 open
Betelgeuse

Hobo::HoboHelper#logout_url does not work for User subclasses

Reported by Betelgeuse | August 11th, 2010 @ 09:51 AM | in Hobo 1.4

If you decide to use STI inheritance and don't provide a separate controller for the subclass logout does not work by default because logout_url tries to find the route with the name of the subclass but only user_logout_url exists. I suggest searching the parent class hierarchy for a working route.

Comments and changes to this ticket

  • Matt Jones

    Matt Jones September 15th, 2011 @ 06:20 PM

    • State changed from “new” to “open”
    • Assigned user set to “Matt Jones”
    • Milestone set to Hobo 1.4
    • Milestone order changed from “197874” to “0”

    Agreed. Right now the router is pretty dense when it comes to STI.

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 ยป

Tags

Pages