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