Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2019-01-23 11:50:19 +0300
committerMark Chao <mchao@gitlab.com>2019-03-06 10:50:55 +0300
commit90527b9f842d53595fb14a97a8f8ad19d9dc505a (patch)
treefed26f765da312e42b19e720b94dc3eab7c423b2 /lib
parent154720cadc05d79fd5a89bfec18b9385964447ec (diff)
Add full option for blob diff action
Returns all diff lines for frontend if full is true. Turn UnfoldForm into presenter, and move controller logic to presenter.
Diffstat (limited to 'lib')
-rw-r--r--lib/unfold_form.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/unfold_form.rb b/lib/unfold_form.rb
deleted file mode 100644
index 05bb3ed7f1c..00000000000
--- a/lib/unfold_form.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-require_relative 'gt_one_coercion'
-
-class UnfoldForm
- include Virtus.model
-
- attribute :since, GtOneCoercion
- attribute :to, GtOneCoercion
- attribute :bottom, Boolean
- attribute :unfold, Boolean, default: true
- attribute :offset, Integer
- attribute :indent, Integer, default: 0
-end