diff options
author | James Lopez <james@jameslopez.es> | 2018-09-07 15:43:51 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-09-07 15:43:51 +0300 |
commit | f1277fbf0bbe8de330d5d80fdfe411a0c8571022 (patch) | |
tree | 8aa895e931eba976ccfa29867625759eb8441c4c /app/controllers/projects_controller.rb | |
parent | 27442862cf81881c81552e64d0b4d3354535c45e (diff) |
refactor code based on feedback
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index f4049bbfa46..98076791ab9 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -191,7 +191,7 @@ class ProjectsController < Projects::ApplicationController end def download_export - if @project.export_project_exists? + if @project.export_file_exists? send_upload(@project.export_file) else redirect_to( |