summaryrefslogtreecommitdiff
path: root/app/controllers/projects/refs_controller.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2017-01-26 17:35:12 -0200
committerFelipe Artur <felipefac@gmail.com>2017-01-26 17:35:12 -0200
commitb423778b24350b9441c9d157cf32e4ed53c56e30 (patch)
tree230a3acefef6a0da1cfbea38e6751209834f8ed8 /app/controllers/projects/refs_controller.rb
parent9d7999242db6ab641df1351bae7cfd5766cfeaa3 (diff)
downloadgitlab-ce-issue_27211.tar.gz
Remove unused js response from refs controllerissue_27211
Diffstat (limited to 'app/controllers/projects/refs_controller.rb')
-rw-r--r--app/controllers/projects/refs_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/projects/refs_controller.rb b/app/controllers/projects/refs_controller.rb
index 3602b3d5e58..667f4870c7a 100644
--- a/app/controllers/projects/refs_controller.rb
+++ b/app/controllers/projects/refs_controller.rb
@@ -32,12 +32,6 @@ class Projects::RefsController < Projects::ApplicationController
redirect_to new_path
end
- format.js do
- @ref = params[:ref]
- define_tree_vars
- tree
- render "tree"
- end
end
end