Commit 46c426dac06715309ef2ec80527a0f252dbe9655

Authored by Austin Smith
Exists in master

Merge pull request #6 from djdarkbeat/master

NoMethodError (undefined method `issue_statuses' for nil:NilClass):

Showing 1 changed file Side-by-side Diff

app/controllers/taskboard_controller.rb View file @ 46c426d
... ... @@ -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'