BigW Consortium Gitlab

Commit 50a357d7 by Jacob Vosmaer

Use #present?

parent 15640746
...@@ -124,7 +124,7 @@ class Projects::GitHttpController < Projects::ApplicationController ...@@ -124,7 +124,7 @@ class Projects::GitHttpController < Projects::ApplicationController
end end
def ci? def ci?
!!@ci @ci.present?
end end
def upload_pack_allowed? 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