Commit 50a357d7 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use #present?

parent 15640746
......@@ -124,7 +124,7 @@ class Projects::GitHttpController < Projects::ApplicationController
end
def ci?
!!@ci
@ci.present?
end
def upload_pack_allowed?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment