This is probably not the best way to do it, but I ended up copying and
pasting all the routes for User for each of my subclassed user types.

On Mar 31, 1:39 pm, moritz <[email protected]> wrote:
> I've subclassed the CE User type using single-table inheritance and it
> all seemed to work fine.
>
> Now I discovered that polymorphic_url (used in commentable_url in
> BaseHelper) doesn't work well with it.  Instead of user_photo_path for
> example, it looks for myusertype_photo_path, which it can't find.
>
> I'm not that familiar with the route management and I'm looking for
> options to revive the behavior of comments w/o going all the way back
> to one single user class.  What are good options for it?  Can I make
> polymorphic_url believe that myusertype is a user and to just use
> that?  Other alternatives?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to