mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +01:00
13 lines
309 B
Scala
13 lines
309 B
Scala
package app
|
|
|
|
import service._
|
|
|
|
class IndexController extends IndexControllerBase with RepositoryService with AccountService
|
|
|
|
trait IndexControllerBase extends ControllerBase { self: RepositoryService =>
|
|
|
|
get("/"){
|
|
html.index(getAccessibleRepositories(context.loginAccount, baseUrl))
|
|
}
|
|
|
|
} |