diff options
author | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-24 19:37:37 +0300 |
---|---|---|
committer | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-29 11:14:41 +0300 |
commit | ac3e5a58549c3f88659cedb47df68e5e719d68f1 (patch) | |
tree | 72526c461887bac5ecbab16257ee9b615484c957 /app/helpers/milestones_routing_helper.rb | |
parent | 87467127b6e0927d56e532f4d6adc4091ff9ef6f (diff) |
replace `is_project_milestone?` with `project_milestone?`
Diffstat (limited to 'app/helpers/milestones_routing_helper.rb')
-rw-r--r-- | app/helpers/milestones_routing_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/milestones_routing_helper.rb b/app/helpers/milestones_routing_helper.rb index 766d5262018..fa05b081634 100644 --- a/app/helpers/milestones_routing_helper.rb +++ b/app/helpers/milestones_routing_helper.rb @@ -2,7 +2,7 @@ module MilestonesRoutingHelper def milestone_path(milestone, *args) if milestone.is_group_milestone? group_milestone_path(milestone.group, milestone, *args) - elsif milestone.is_project_milestone? + elsif milestone.project_milestone? project_milestone_path(milestone.project, milestone, *args) end end @@ -10,7 +10,7 @@ module MilestonesRoutingHelper def milestone_url(milestone, *args) if milestone.is_group_milestone? group_milestone_url(milestone.group, milestone, *args) - elsif milestone.is_project_milestone? + elsif milestone.project_milestone? project_milestone_url(milestone.project, milestone, *args) end end |