From 5cf914aec14e39507a3d7c05834fbd945340be92 Mon Sep 17 00:00:00 2001 From: Xinhui Date: Thu, 27 Apr 2017 15:14:05 +0200 Subject: Wip TimeTables#update save TimeTableDate Refs #2899 --- app/controllers/time_tables_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/time_tables_controller.rb') diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb index 487c14e9f..ea53df35f 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -58,6 +58,7 @@ class TimeTablesController < ChouetteController def update state = JSON.parse request.raw_post + resource.state_update state respond_to do |format| format.json { render json: state, status: state['errors'] ? :unprocessable_entity : :ok } end -- cgit v1.2.3