diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-05 14:26:28 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-11 11:39:04 -0300 |
commit | 1fa3f30811c3599a2f060803b201441046926b87 (patch) | |
tree | e2e9ac042d801a0e021e1f941ff149aabb9d702d /app/services/boards | |
parent | 1a4b1e9735c8b3502d54f1e9ecbce0c3f235f5c7 (diff) | |
download | gitlab-ce-1fa3f30811c3599a2f060803b201441046926b87.tar.gz |
Update Boards::Issues::ListService to list issues for a board list
Diffstat (limited to 'app/services/boards')
-rw-r--r-- | app/services/boards/issues/list_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/boards/issues/list_service.rb b/app/services/boards/issues/list_service.rb index 435a8c6e681..782dbf0db1a 100644 --- a/app/services/boards/issues/list_service.rb +++ b/app/services/boards/issues/list_service.rb @@ -10,6 +10,10 @@ module Boards private + def board + @board ||= project.boards.find(params[:board_id]) + end + def list @list ||= board.lists.find(params[:id]) end |