Use #present?

This commit is contained in:
Jacob Vosmaer 2016-06-03 15:49:52 +02:00
parent 1564074648
commit 50a357d7e8
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class Projects::GitHttpController < Projects::ApplicationController
end
def ci?
!!@ci
@ci.present?
end
def upload_pack_allowed?