Fix accept event workflow

This commit is contained in:
Chrisbr 2014-05-12 18:35:28 +02:00
parent 1528fb53de
commit 2ca99e7ab9
4 changed files with 30 additions and 24 deletions

View file

@ -47,7 +47,6 @@ class Admin::ScheduleController < ApplicationController
startTime = DateTime.strptime(time, "%Y-%m-%d %k:%M")
event.start_time = startTime
event.save!
expire_page :controller => '/schedule', :action => :index
render :json => {"status" => "ok"}
end