Browse Source

Closes #58: Deactivating the calendar in a workspace result in a 404 error

Bastien Sevajol (Algoo) 8 years ago
parent
commit
506db3dd7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/controllers/admin/workspace.py

+ 1 - 1
tracim/tracim/controllers/admin/workspace.py View File

215
         return DictLikeClass(result = dictified_workspace)
215
         return DictLikeClass(result = dictified_workspace)
216
 
216
 
217
     @tg.expose('tracim.templates.workspace.edit')
217
     @tg.expose('tracim.templates.workspace.edit')
218
-    def put(self, id, name, description, calendar_enabled):
218
+    def put(self, id, name, description, calendar_enabled=False):
219
         user = tmpl_context.current_user
219
         user = tmpl_context.current_user
220
         workspace_api_controller = WorkspaceApi(user)
220
         workspace_api_controller = WorkspaceApi(user)
221
 
221