Created
November 25, 2018 19:22
-
-
Save talum/09624fdbfdb3705c5f1f1a863cf461a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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