class Api::V1::SearchesController < ApiController | |
def new | |
gh_id_mappings = if $rollout.active?(:remove_content) | |
GithubRepository.track_data_for_github_repos(repos.pluck(:id), current_user.active_track_id) | |
else | |
GithubRepository.github_id_mappings_for_global_search(current_user) | |
end | |
# omitted | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment