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 #2387 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

[PATCH]: RestController ignoring get on sub_controllers when remainder present

Reported by: vinces1979 Owned by: percious
Priority: normal Milestone: 2.1b1
Component: TurboGears Version: 2.1
Severity: normal Keywords:
Cc:

Description

When the sub controller has a remainder the RestController? was only looking for get_one and get got left out, returning a 404 in some cases, this patch looks for get_one and then get.

Attachments

restcontroller.py.diff Download (1.1 KB) - added by vinces1979 10 years ago.

Change History

Changed 10 years ago by vinces1979

comment:1 Changed 10 years ago by jorge.vargas

  • Owner set to percious
  • Milestone changed from __unclassified__ to 2.1

Pathc looks good, sending to Chris to be sure.

comment:2 Changed 9 years ago by percious

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 2.1 to 2.1b1
Note: See TracTickets for help on using tickets.