Pārlūkot izejas kodu

Fix error page when PUT content without change it

Bastien Sevajol 9 gadus atpakaļ
vecāks
revīzija
cfc9e789af
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      tracim/tracim/controllers/content.py

+ 4 - 0
tracim/tracim/controllers/content.py Parādīt failu

334
         return tg.url('/workspaces/{}/folders/{}/pages/{}')
334
         return tg.url('/workspaces/{}/folders/{}/pages/{}')
335
 
335
 
336
     @property
336
     @property
337
+    def _err_url(self):
338
+        return tg.url('/workspaces/{}/folders/{}/pages/{}')
339
+
340
+    @property
337
     def _parent_url(self):
341
     def _parent_url(self):
338
         return tg.url('/workspaces/{}/folders/{}')
342
         return tg.url('/workspaces/{}/folders/{}')
339
 
343