Fix 404 error while displaying json files.
It uses params[:id] instead of request.fullpath. It should fix #3132.
This commit is contained in:
parent
f7ca6c5079
commit
a1fe375e44
5 changed files with 6 additions and 66 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue