diff options
Diffstat (limited to 'app/serializers/diff_viewer_entity.rb')
-rw-r--r-- | app/serializers/diff_viewer_entity.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/diff_viewer_entity.rb b/app/serializers/diff_viewer_entity.rb index f8d9778a3ee..294d50f5f10 100644 --- a/app/serializers/diff_viewer_entity.rb +++ b/app/serializers/diff_viewer_entity.rb @@ -5,6 +5,7 @@ class DiffViewerEntity < Grape::Entity expose :render_error, as: :error expose :render_error_message, as: :error_message expose :collapsed?, as: :collapsed + expose :generated?, as: :generated expose :whitespace_only do |_, options| options[:whitespace_only] end |