Skip to content

Commit

Permalink
[Workplace Search] Add routes for Sources (#83125) (#83202)
Browse files Browse the repository at this point in the history
* [Workplace Search] Consolidate groups routes

This PR consolidates all of the groups route resgistration functions into a single export so that the `registerWorkplaceSearchRoutes` function only has to call the top-level routes

* Remove redundant test

* [Workplace Search] Add routes for Sources
  • Loading branch information
scottybollinger authored Nov 11, 2020
1 parent 198184e commit 702cf26
Show file tree
Hide file tree
Showing 3 changed files with 1,373 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ import { RouteDependencies } from '../../plugin';

import { registerOverviewRoute } from './overview';
import { registerGroupsRoutes } from './groups';
import { registerSourcesRoutes } from './sources';

export const registerWorkplaceSearchRoutes = (dependencies: RouteDependencies) => {
registerOverviewRoute(dependencies);
registerGroupsRoutes(dependencies);
registerSourcesRoutes(dependencies);
};
Loading

0 comments on commit 702cf26

Please sign in to comment.