summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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