Merge "PolyGerrit: Exclude plugins/* routes from catchall"

This commit is contained in:
Wyatt Allen
2017-09-05 16:05:38 +00:00
committed by Gerrit Code Review

View File

@@ -72,6 +72,8 @@
TAG_LIST_FILTER_OFFSET:
'/admin/projects/:project,tags/q/filter::filter,:offset',
PLUGINS: /^\/plugins\/(.+)$/,
PLUGIN_LIST: /^\/admin\/plugins(\/)?$/,
// Matches /admin/plugins[,<offset>][/].
@@ -474,6 +476,8 @@
this._mapRoute(RoutePattern.PROJECT, '_handleProjectRoute');
this._mapRoute(RoutePattern.PLUGINS, '_handlePassThroughRoute');
this._mapRoute(RoutePattern.PLUGIN_LIST_OFFSET,
'_handlePluginListOffsetRoute', true);