Commit 8235e74215727e9418f8dcb2f93c66cdd176ac35

Authored by Brian Loomis
1 parent 22a00fe2ea
Exists in master

fix for NoMethodError (undefined method issue_statuses for nil:NilClass):

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

app/controllers/taskboard_controller.rb View file @ 8235e74
... ... @@ -73,7 +73,7 @@
73 73 column_id = column_id.to_i
74 74 unless column_id == 0
75 75 @columnsn = TaskBoardColumn.find(column_id)
76   - @column.issue_statuses << IssueStatus.find(status_id)
  76 + @columnsn.issue_statuses << IssueStatus.find(status_id)
77 77 end
78 78 end
79 79 render 'settings/update'