Explorar el Código

Implement error url for File controller

Bastien Sevajol (Algoo) hace 9 años
padre
commit
7c2bae26b6
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      tracim/tracim/controllers/content.py

+ 4 - 0
tracim/tracim/controllers/content.py Ver fichero

155
         return tg.url('/workspaces/{}/folders/{}')
155
         return tg.url('/workspaces/{}/folders/{}')
156
 
156
 
157
     @property
157
     @property
158
+    def _err_url(self):
159
+        return tg.url('/dashboard/workspaces/{}/folders/{}/file/{}')
160
+
161
+    @property
158
     def _item_type(self):
162
     def _item_type(self):
159
         return ContentType.File
163
         return ContentType.File
160
 
164