From 90527b9f842d53595fb14a97a8f8ad19d9dc505a Mon Sep 17 00:00:00 2001 From: Mark Chao Date: Wed, 23 Jan 2019 16:50:19 +0800 Subject: 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. --- lib/unfold_form.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lib/unfold_form.rb (limited to 'lib') 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 -- cgit v1.2.3