Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2285 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

custom routes don't work in TG2

Reported by: carl Owned by:
Priority: normal Milestone: 2.1a1
Component: TurboGears Version: 2.0b7
Severity: normal Keywords:


The instructions in the  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

Change History

comment:1 Changed 10 years ago by mramm

  • Status changed from new to closed
  • Resolution set to fixed

This is fixed in trunk, and will be fixed in 2.0.1 when it's released this week.

Note: See TracTickets for help on using tickets.