Return the association and check it in controller instead:
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4641#note_12444891
Showing
Please register or sign in to comment
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4641#note_12444891