mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-31 14:28:49 +01:00
#300: Fixed bug that broke validation on create
This commit is contained in:
parent
50a47c5874
commit
0664761a8f
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class TodosController < ApplicationController
|
|||
unless @todo.uncompleted_predecessors.empty? || @todo.state == 'project_hidden'
|
||||
@todo.state = 'pending'
|
||||
end
|
||||
@todo.save!
|
||||
@todo.save
|
||||
end
|
||||
|
||||
respond_to do |format|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue