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 #2284 (closed defect: duplicate)

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.0rc1
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 carl

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.