From a1fe375e44987d89b9f9fbacb784eed83de233b2 Mon Sep 17 00:00:00 2001 From: Sato Hiroyuki Date: Thu, 21 Mar 2013 14:41:16 +0000 Subject: Fix 404 error while displaying json files. It uses params[:id] instead of request.fullpath. It should fix #3132. --- app/controllers/blob_controller.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/controllers/blob_controller.rb') diff --git a/app/controllers/blob_controller.rb b/app/controllers/blob_controller.rb index d4a45d9508e..530b72fee7f 100644 --- a/app/controllers/blob_controller.rb +++ b/app/controllers/blob_controller.rb @@ -7,8 +7,6 @@ class BlobController < ProjectResourceController before_filter :authorize_code_access! before_filter :require_non_empty_project - before_filter :assign_ref_vars - def show if @tree.is_blob? send_data( -- cgit v1.2.1