summaryrefslogtreecommitdiff
path: root/lib/unfold_form.rb
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2019-01-23 16:50:19 +0800
committerPhil Hughes <me@iamphill.com>2019-02-18 10:13:35 +0000
commitc1fd719e18e2ab7f0412cf95b5e336a3aeea8006 (patch)
tree0e06b898a154d8bac4b504a9944efc79da2a4005 /lib/unfold_form.rb
parentff81747fbbd339da495b7b4c42df40df443961b0 (diff)
downloadgitlab-ce-19054-expand-diff.tar.gz
Add full option for blob diff action19054-expand-diff
Diffstat (limited to 'lib/unfold_form.rb')
-rw-r--r--lib/unfold_form.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unfold_form.rb b/lib/unfold_form.rb
index 05bb3ed7f1c..53adc3af0cd 100644
--- a/lib/unfold_form.rb
+++ b/lib/unfold_form.rb
@@ -9,6 +9,7 @@ class UnfoldForm
attribute :to, GtOneCoercion
attribute :bottom, Boolean
attribute :unfold, Boolean, default: true
+ attribute :full, Boolean, default: false
attribute :offset, Integer
attribute :indent, Integer, default: 0
end