소스 검색

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

Bastien Sevajol (Algoo) 8 년 전
부모
커밋
506db3dd7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tracim/tracim/controllers/admin/workspace.py

+ 1 - 1
tracim/tracim/controllers/admin/workspace.py 파일 보기

@@ -215,7 +215,7 @@ class WorkspaceRestController(TIMRestController, BaseController):
215 215
         return DictLikeClass(result = dictified_workspace)
216 216
 
217 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 219
         user = tmpl_context.current_user
220 220
         workspace_api_controller = WorkspaceApi(user)
221 221