diff options
author | Phil Hughes <me@iamphill.com> | 2019-03-26 18:20:02 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-03-26 18:20:02 +0000 |
commit | 3b158409b382014dba56e5bb6e66c298786af7f6 (patch) | |
tree | e8a3f7c2a50694d91b489be70028cb1b68f92861 /app/serializers | |
parent | 19010942652c23d203c856acf454528ef342fafb (diff) | |
download | gitlab-ce-3b158409b382014dba56e5bb6e66c298786af7f6.tar.gz |
Remove expand diff to full file feature flag
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/diff_file_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/diff_file_entity.rb b/app/serializers/diff_file_entity.rb index 066e30cd3bb..d3d5883e46b 100644 --- a/app/serializers/diff_file_entity.rb +++ b/app/serializers/diff_file_entity.rb @@ -57,7 +57,7 @@ class DiffFileEntity < DiffFileBaseEntity diff_file.diff_lines_for_serializer end - expose :is_fully_expanded, if: -> (diff_file, _) { Feature.enabled?(:expand_diff_full_file, default_enabled: true) && diff_file.text? } do |diff_file| + expose :is_fully_expanded, if: -> (diff_file, _) { diff_file.text? } do |diff_file| diff_file.fully_expanded? end |