![]() Previously this class would be given a project ID which was then used to retrieve the corresponding Project object. However, in all cases the Project object was already known as it was used to grab the ID to pass to ProjectSearchResults. By just passing a Project instead we remove the need for an extra query as well as the need for some other complexity in this class. |
||
---|---|---|
.. | ||
global_service.rb | ||
project_service.rb | ||
snippet_service.rb |