summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-25 23:34:52 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:25 -0400
commitb6d6663e0e793b2a47f8a25215334f77e2b80baf (patch)
tree850041362d4ff0376b96af927f112bdfefb406cb
parentb62d6a1fe28ad040e96fd88604131f357e5e6e9e (diff)
downloadgitlab-ce-b6d6663e0e793b2a47f8a25215334f77e2b80baf.tar.gz
Fix the remaining actions in RefsController
-rw-r--r--app/controllers/refs_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb
index ff143f3f6e6..6ae816ecb30 100644
--- a/app/controllers/refs_controller.rb
+++ b/app/controllers/refs_controller.rb
@@ -69,6 +69,6 @@ class RefsController < ApplicationController
end
def ref
- @ref = params[:ref]
+ @ref = params[:id] || params[:ref]
end
end