Use == over === on Board#milestone

parent 1acb3011
......@@ -11,7 +11,7 @@ class Board < ActiveRecord::Base
end
def milestone
if milestone_id === Milestone::Upcoming.id
if milestone_id == Milestone::Upcoming.id
Milestone::Upcoming
else
super
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment