#2095: DecoratedController methods do not get passed the arguments from routing
------------------------+---------------------------------------------------
Reporter: percious | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: 2.0b2
Component: TurboGears | Version: 1.9.x
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Consider the following route:
map.connect('sample_metrics_edit', 'samples/metrics/:metric_id',
controller='samplemetrics', action='edit',
conditions=dict(method=['GET']))
and the following associated controller method:
@expose()
def edit(self, metric_id):
return dict()
One would expect that metric_id would be assigned the value from routes,
but it is not.
--
Ticket URL: <http://trac.turbogears.org/ticket/2095>
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
-~----------~----~----~----~------~----~------~--~---