diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-07-12 09:31:17 +0300 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2019-07-12 09:31:17 +0300 |
commit | 2e6225538f6e065dda61c04c9c9e76fbe0b23646 (patch) | |
tree | 2de903022b2e9fd9a1b97d6dfb72276c31384a51 /app/serializers/current_board_entity.rb | |
parent | 4c6bdd23b32940bc1687ef7879821cd8772340b2 (diff) |
Split and prepend CurrentBoardEntity
(cherry picked from commit 1e8bdd01bff96122fe80c51fa8f024f18675b58b)
Diffstat (limited to 'app/serializers/current_board_entity.rb')
-rw-r--r-- | app/serializers/current_board_entity.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/current_board_entity.rb b/app/serializers/current_board_entity.rb new file mode 100644 index 00000000000..371151532f8 --- /dev/null +++ b/app/serializers/current_board_entity.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +class CurrentBoardEntity < Grape::Entity + expose :id + expose :name +end |