mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 03:26:06 +01:00
Leaked implementation #2199
This commit is contained in:
@@ -347,6 +347,10 @@ abstract class Plugin {
|
||||
case (path, controller) =>
|
||||
registry.addController(path, controller)
|
||||
}
|
||||
(anonymousAccessiblePaths ++ anonymousAccessiblePaths(registry, context, settings)).foreach {
|
||||
case (path) =>
|
||||
registry.addAnonymousAccessiblePath(path)
|
||||
}
|
||||
(javaScripts ++ javaScripts(registry, context, settings)).foreach {
|
||||
case (path, script) =>
|
||||
registry.addJavaScript(path, script)
|
||||
|
||||
Reference in New Issue
Block a user