diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-08-31 16:34:57 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-08-31 16:34:57 -0300 |
commit | aa997e4297065cdb4a78b4b629c8820d4d6b0a8e (patch) | |
tree | 3490078084babdcad3b148f68c893e5035423072 /app/controllers | |
parent | 02fed9a905b65fb9b2a0d61500b51d44cd24ba28 (diff) | |
download | gitlab-ce-aa997e4297065cdb4a78b4b629c8820d4d6b0a8e.tar.gz |
Small fixes
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/boards/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/boards/issues_controller.rb b/app/controllers/boards/issues_controller.rb index 8ac23faa4b7..016059b3a51 100644 --- a/app/controllers/boards/issues_controller.rb +++ b/app/controllers/boards/issues_controller.rb @@ -10,7 +10,7 @@ module Boards def index issues = Boards::Issues::ListService.new(board_parent, current_user, filter_params).execute issues = issues.page(params[:page]).per(params[:per] || 20) - make_sure_position_is_set(issues) unless Gitlab::Geo.secondary? + make_sure_position_is_set(issues) render json: { issues: serialize_as_json(issues.preload(:project)), |