Change the design of the feature to make a task done
Opened this issue · 0 comments
ebihara99999 commented
実装を見ると終了済みにするだけの内容なので、POST /tasks/:id/complate にして >Tasks::ComplatesController#create とネームスペースを分ける実装はどうでしょう?
「完了(completion)をcreateしている」という発想でcreateを使う
全てのパラメータをupdateできるようにしておいて、javascriptでis_doneのみupdateできるようにしておく
See: #23