summaryrefslogtreecommitdiff
path: root/app/controllers/projects/network_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/network_controller.rb')
-rw-r--r--app/controllers/projects/network_controller.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/projects/network_controller.rb b/app/controllers/projects/network_controller.rb
index aa0838752e2..f3c63b1b97b 100644
--- a/app/controllers/projects/network_controller.rb
+++ b/app/controllers/projects/network_controller.rb
@@ -14,11 +14,7 @@ class Projects::NetworkController < Projects::ApplicationController
urgency :low, [:show]
def show
- @url = if Feature.enabled?(:use_ref_type_parameter, @project)
- project_network_path(@project, @ref, @options.merge(format: :json, ref_type: ref_type))
- else
- project_network_path(@project, @ref, @options.merge(format: :json))
- end
+ @url = project_network_path(@project, @ref, @options.merge(format: :json, ref_type: ref_type))
@ref_type = ref_type
@commit_url = project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")