diff options
author | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-24 19:41:44 +0300 |
---|---|---|
committer | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-29 11:14:41 +0300 |
commit | fab7fdcf2f8b040c345d1cb0b05acd053c9af963 (patch) | |
tree | fee121a044e9032b918686b71246ba55875e8050 /app/helpers/milestones_routing_helper.rb | |
parent | ac3e5a58549c3f88659cedb47df68e5e719d68f1 (diff) |
replace `is_group_milestone?` with `group_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 fa05b081634..a0b2616f224 100644 --- a/app/helpers/milestones_routing_helper.rb +++ b/app/helpers/milestones_routing_helper.rb @@ -1,6 +1,6 @@ module MilestonesRoutingHelper def milestone_path(milestone, *args) - if milestone.is_group_milestone? + if milestone.group_milestone? group_milestone_path(milestone.group, milestone, *args) elsif milestone.project_milestone? project_milestone_path(milestone.project, milestone, *args) @@ -8,7 +8,7 @@ module MilestonesRoutingHelper end def milestone_url(milestone, *args) - if milestone.is_group_milestone? + if milestone.group_milestone? group_milestone_url(milestone.group, milestone, *args) elsif milestone.project_milestone? project_milestone_url(milestone.project, milestone, *args) |