#2285: custom routes don't work in TG2
------------------------+---------------------------------------------------
Reporter: carl | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.0rc1
Component: TurboGears | Version: 2.0b7
Severity: normal | Keywords:
------------------------+---------------------------------------------------
The instructions in the
[http://turbogears.org/2.0/docs/main/RoutesIntegration.html/
RoutesIntegration] document are not very clear and don't work. If your
controller subclasses directly or indirectly the
!ObjectDispatchController then custom routes information is ignored.
That's what happens by default in a quickstarted project. Mark Ramm
suggested to subclass !DecoratedController instead. That seems to be the
right direction, but there are bugs in invoking the {{{__before__ and
__after__}}} methods.
See full discussion here:
[http://groups.google.com/group/turbogears/t/16d446e0aa796778]
--
Ticket URL: <http://trac.turbogears.org/ticket/2285>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---