From b6d6663e0e793b2a47f8a25215334f77e2b80baf Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Tue, 25 Sep 2012 23:34:52 -0400 Subject: [PATCH] Fix the remaining actions in RefsController --- app/controllers/refs_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb index ff143f3..6ae816e 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 -- libgit2 0.21.2