mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-10-31 10:36:05 +01:00 
			
		
		
		
	Added the index page which is used while in development.
This commit is contained in:
		| @@ -13,11 +13,11 @@ abstract class ControllerBase extends ScalatraFilter with ClientSideValidationFo | ||||
|    | ||||
|   implicit val jsonFormats = DefaultFormats | ||||
|    | ||||
|   implicit def context: Context = Context(servletContext.getContextPath) | ||||
|   implicit def context: Context = Context(servletContext.getContextPath, LoginUser) | ||||
|    | ||||
|   // TODO get from session | ||||
|   val LoginUser = System.getProperty("user.name") | ||||
|   private val LoginUser = System.getProperty("user.name") | ||||
|    | ||||
| } | ||||
|  | ||||
| case class Context(path: String) | ||||
| case class Context(path: String, loginUser: String) | ||||
		Reference in New Issue
	
	Block a user