Fix 404 error while displaying json files.
Created by: hiroponz
It uses params[:id] instead of request.fullpath. It should fix #3132 (closed).
Merge request reports
Activity
Created by: zzet
#<ActionDispatch::Request:0x00000004aae160 @env={"REMOTE_ADDR"=>"127.0.0.1", "REQUEST_METHOD"=>"GET", "REQUEST_PATH"=>"/project_path_with_namespace/tree/master/full/path/to/file.json", "PATH_INFO"=>"/project_path_with_namespace"> @request_method="GET", @filtered_parameters={"action"=>"show", "controller"=>"tree", "project_id"=>"project_path_with_namespace", "id"=>"master/full/path/to/file.json"}, @method="GET", @fullpath="/project_path_with_namespace/tree/master/full/path/to/file.json">
By Administrator on 2013-03-24T08:42:07 (imported from GitLab project)
By Administrator on 2013-03-24T08:42:07 (imported from GitLab)
Please register or sign in to reply