Commit 9a242a40 authored by Eugenia Grieff's avatar Eugenia Grieff

Fix Milestoneable error message

parent 9f7e523c
......@@ -37,7 +37,7 @@ module Milestoneable
private
def milestone_is_valid
errors.add(:milestone_id, message: _('is invalid')) if respond_to?(:milestone_id) && milestone_id.present? && !milestone_available?
errors.add(:milestone_id, _('is invalid')) if respond_to?(:milestone_id) && milestone_id.present? && !milestone_available?
end
end
......
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