diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-05 12:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-05 12:09:07 +0300 |
commit | 77831d580c99993c0367bbb8f2aec373ff09a79a (patch) | |
tree | 58712f4fe9b5b5c6543e32a0e98b092e15481930 /app/controllers | |
parent | 5092e9b37cf208ec604470afd4ebb62b1b58673e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/groups/boards_controller.rb | 4 | ||||
-rw-r--r-- | app/controllers/projects/boards_controller.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/groups/boards_controller.rb b/app/controllers/groups/boards_controller.rb index 379fb7bb38b..ff5be986f16 100644 --- a/app/controllers/groups/boards_controller.rb +++ b/app/controllers/groups/boards_controller.rb @@ -21,13 +21,13 @@ class Groups::BoardsController < Groups::ApplicationController def boards_finder strong_memoize :boards_finder do - Boards::ListService.new(parent, current_user) + Boards::BoardsFinder.new(parent, current_user) end end def board_finder strong_memoize :board_finder do - Boards::ListService.new(parent, current_user, board_id: params[:id]) + Boards::BoardsFinder.new(parent, current_user, board_id: params[:id]) end end diff --git a/app/controllers/projects/boards_controller.rb b/app/controllers/projects/boards_controller.rb index f9d84a9dcf7..418f2ee1592 100644 --- a/app/controllers/projects/boards_controller.rb +++ b/app/controllers/projects/boards_controller.rb @@ -21,13 +21,13 @@ class Projects::BoardsController < Projects::ApplicationController def boards_finder strong_memoize :boards_finder do - Boards::ListService.new(parent, current_user) + Boards::BoardsFinder.new(parent, current_user) end end def board_finder strong_memoize :board_finder do - Boards::ListService.new(parent, current_user, board_id: params[:id]) + Boards::BoardsFinder.new(parent, current_user, board_id: params[:id]) end end |