diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-11 14:06:40 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-11 14:06:40 +0300 |
commit | 1f733a95c73ca767287fcad180e4fa367b4a2354 (patch) | |
tree | e599793e460f3f9aa6412aedcb7169d683d8c917 /app/controllers/projects/artifacts_controller.rb | |
parent | df5b78676e914ad8e14e96322b1dce383ae26875 (diff) |
Remove redundant return
Diffstat (limited to 'app/controllers/projects/artifacts_controller.rb')
-rw-r--r-- | app/controllers/projects/artifacts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/artifacts_controller.rb b/app/controllers/projects/artifacts_controller.rb index 944fde11b09..7d6ba80b965 100644 --- a/app/controllers/projects/artifacts_controller.rb +++ b/app/controllers/projects/artifacts_controller.rb @@ -16,7 +16,7 @@ class Projects::ArtifactsController < Projects::ApplicationController directory = params[:path] ? "#{params[:path]}/" : '' @entry = build.artifacts_metadata_entry(directory) - return render_404 unless @entry.exists? + render_404 unless @entry.exists? end def file |