Commits

Cody Soyland  committed 393b002

Left this as "permalink" before by mistake. Changing back to "reverser" for now.

  • Participants
  • Parent commits 9dc8ebb

Comments (0)

Files changed (1)

File piston/constructor.py

                 url_id, fields = handler.resource_uri(data)
 
                 try:
-                    ret['resource_uri'] = permalink( lambda: (url_id, fields) )()
+                    ret['resource_uri'] = reverser( lambda: (url_id, fields) )()
                 except NoReverseMatch, e:
                     pass