diff options
author | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-21 14:41:16 +0000 |
---|---|---|
committer | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-21 15:10:14 +0000 |
commit | a1fe375e44987d89b9f9fbacb784eed83de233b2 (patch) | |
tree | 569d9db493584db0f19cc176f73f40b52873b7b5 /app/controllers/blob_controller.rb | |
parent | f7ca6c5079bb3c79c709721dae06b77200a1972e (diff) | |
download | gitlab-ce-a1fe375e44987d89b9f9fbacb784eed83de233b2.tar.gz |
Fix 404 error while displaying json files.
It uses params[:id] instead of request.fullpath.
It should fix #3132.
Diffstat (limited to 'app/controllers/blob_controller.rb')
-rw-r--r-- | app/controllers/blob_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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( |