Browse Source

Implement error url for File controller

Bastien Sevajol (Algoo) 8 years ago
parent
commit
7c2bae26b6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tracim/tracim/controllers/content.py

+ 4 - 0
tracim/tracim/controllers/content.py View File

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