diff --git a/config/routes.rb b/config/routes.rb index 15695b9..4abb673 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -15,8 +15,8 @@ Rails.application.routes.draw do post '/lectures/:id/start_preparation', to: 'lecture#start_preparation', as: :lecture_start_preparation post '/lectures/:id/start_review', to: 'lecture#start_review', as: :lecture_start_review - get '/work_items/:id/start_time_entry', to: 'work_item#start_time_entry', as: :work_item_start_time_entry - get '/work_items/:id/complete', to: 'work_item#complete', as: :work_item_complete + post '/work_items/:id/start_time_entry', to: 'work_item#start_time_entry', as: :work_item_start_time_entry + post '/work_items/:id/complete', to: 'work_item#complete', as: :work_item_complete post '/lectures/:id/checkin', to: 'lecture#checkin', as: :lecture_checkin end