Commits

Anonymous committed 78ba97a

fix uri when updating a paste from json

Comments (0)

Files changed (1)

friendpaste/views.py

             'ok': True,
             'id': s.pasteid,
             'nb_revision': s.nb_revision,
-            'url': '%s/%s' % (settings.SITE_URI, s.id)
+            'url': '%s/%s' % (settings.SITE_URI, s.pasteid)
         })
 
     revid = request.values.get('rev', None)