Use == over === on Board#milestone

parent 1acb3011
...@@ -11,7 +11,7 @@ class Board < ActiveRecord::Base ...@@ -11,7 +11,7 @@ class Board < ActiveRecord::Base
end end
def milestone def milestone
if milestone_id === Milestone::Upcoming.id if milestone_id == Milestone::Upcoming.id
Milestone::Upcoming Milestone::Upcoming
else else
super 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