diff options
Diffstat (limited to 'app/controllers/concerns/planning_hierarchy.rb')
-rw-r--r-- | app/controllers/concerns/planning_hierarchy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/planning_hierarchy.rb b/app/controllers/concerns/planning_hierarchy.rb index 5df838bc183..51999a87e26 100644 --- a/app/controllers/concerns/planning_hierarchy.rb +++ b/app/controllers/concerns/planning_hierarchy.rb @@ -7,7 +7,7 @@ module PlanningHierarchy def planning_hierarchy return access_denied! unless can?(current_user, :read_planning_hierarchy, @project) - render 'shared/planning_hierarchy' + route_not_found end # rubocop:enable Gitlab/ModuleWithInstanceVariables end |