diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-04-12 20:59:35 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-04-12 20:59:35 +0300 |
commit | 58cd4c48e639ab0ead5d1e1da4677c4b8e05233f (patch) | |
tree | 3223ab1f2536e8cf1926ff0ad2dc5a23a1fff0a7 /app/models/concerns/discussion_on_diff.rb | |
parent | 1585eaf64b3b791bbad712733f6f45c7103c8f89 (diff) |
Fix NUMBER_OF_TRUNCATED_DIFF_LINES re-definition error
Diffstat (limited to 'app/models/concerns/discussion_on_diff.rb')
-rw-r--r-- | app/models/concerns/discussion_on_diff.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/concerns/discussion_on_diff.rb b/app/models/concerns/discussion_on_diff.rb index 67b1cace3eb..8ee42875670 100644 --- a/app/models/concerns/discussion_on_diff.rb +++ b/app/models/concerns/discussion_on_diff.rb @@ -2,9 +2,9 @@ module DiscussionOnDiff extend ActiveSupport::Concern - included do - NUMBER_OF_TRUNCATED_DIFF_LINES = 16 + NUMBER_OF_TRUNCATED_DIFF_LINES = 16 + included do delegate :line_code, :original_line_code, :diff_file, |