diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-28 23:12:32 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-07-07 05:39:55 +0300 |
commit | d00cb00d6b62c561da79b3fc0eab579364b3e91c (patch) | |
tree | 7aad204d8f21889c7b9befc078050019521dae1f /app/helpers/milestones_helper.rb | |
parent | cfd813402deb631bdc4db9af68c6366ff1179f4a (diff) |
Rename NoMilestone to Milestone::None
Also refactors IssuableFinder to avoid redundant title check.
Diffstat (limited to 'app/helpers/milestones_helper.rb')
-rw-r--r-- | app/helpers/milestones_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb index 3dedc405365..132a893e532 100644 --- a/app/helpers/milestones_helper.rb +++ b/app/helpers/milestones_helper.rb @@ -29,7 +29,7 @@ module MilestonesHelper end.active grouped_milestones = Milestones::GroupService.new(milestones).execute - grouped_milestones.unshift(NoMilestone) + grouped_milestones.unshift(Milestone::None) options_from_collection_for_select(grouped_milestones, 'title', 'title', params[:milestone_title]) end |