Projects::Ml::CandidatesController#show - undefined method `can?' for nil:NilClass (ActionView::Template::Error)
Projects::Ml::CandidatesController#show - undefined method `can?' for nil:NilClass (ActionView::Template::Error)
Related code app/presenters/ml/candidate_details_presenter.rb
undefined method `can?' for nil:NilClass (NoMethodError)
return unless candidate.from_ci? && current_user.can?(:read_build, candidate.ci_build)
^^^^^