parent
e2d16ea04a
commit
bb2ecb3672
|
@ -347,7 +347,7 @@ class website(osv.osv):
|
|||
:rtype: bool
|
||||
"""
|
||||
endpoint = rule.endpoint
|
||||
methods = endpoint.routing.get('method') or ['GET']
|
||||
methods = endpoint.routing.get('methods') or ['GET']
|
||||
|
||||
converters = rule._converters.values()
|
||||
if not ('GET' in methods
|
||||
|
|
Loading…
Reference in New Issue