diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-08-30 12:47:31 +0200 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-09-01 14:00:46 +0200 |
commit | c8861da76772d781f677a76506f590edc23ba251 (patch) | |
tree | 9c8342286be17bf9f449069f0591f8799cdec6fb /app/controllers/projects | |
parent | e2e8ec6074a4b7552188b169cfe9c4612b740428 (diff) | |
download | gitlab-ce-c8861da76772d781f677a76506f590edc23ba251.tar.gz |
Update specs - add mocks to simulate old versions
Diffstat (limited to 'app/controllers/projects')
-rw-r--r-- | app/controllers/projects/builds_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/builds_controller.rb b/app/controllers/projects/builds_controller.rb index 79d774195f8..77934ff9962 100644 --- a/app/controllers/projects/builds_controller.rb +++ b/app/controllers/projects/builds_controller.rb @@ -79,9 +79,9 @@ class Projects::BuildsController < Projects::ApplicationController def raw if @build.has_trace_file? - send_file @build.path_to_trace, type: 'text/plain; charset=utf-8', disposition: 'inline' + send_file @build.trace_file_path, type: 'text/plain; charset=utf-8', disposition: 'inline' else - render_410 + render_404 end end |