diff options
author | Mark Chao <mchao@gitlab.com> | 2019-01-23 16:50:19 +0800 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2019-03-06 15:50:55 +0800 |
commit | 90527b9f842d53595fb14a97a8f8ad19d9dc505a (patch) | |
tree | fed26f765da312e42b19e720b94dc3eab7c423b2 /lib | |
parent | 154720cadc05d79fd5a89bfec18b9385964447ec (diff) | |
download | gitlab-ce-90527b9f842d53595fb14a97a8f8ad19d9dc505a.tar.gz |
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.rb | 14 |
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 |