Use #present?
This commit is contained in:
parent
1564074648
commit
50a357d7e8
|
@ -124,7 +124,7 @@ class Projects::GitHttpController < Projects::ApplicationController
|
|||
end
|
||||
|
||||
def ci?
|
||||
!!@ci
|
||||
@ci.present?
|
||||
end
|
||||
|
||||
def upload_pack_allowed?
|
||||
|
|
Loading…
Reference in New Issue