@@ -533,7 +533,7 class Issue < ActiveRecord::Base | |||||
533 | errors.add :start_date, :not_a_date |
|
533 | errors.add :start_date, :not_a_date | |
534 | end |
|
534 | end | |
535 |
|
535 | |||
536 |
if |
|
536 | if due_date && start_date && due_date < start_date | |
537 | errors.add :due_date, :greater_than_start_date |
|
537 | errors.add :due_date, :greater_than_start_date | |
538 | end |
|
538 | end | |
539 |
|
539 |
General Comments 0
You need to be logged in to leave comments.
Login now