Files
GitBucket/src/main/scala/app/IndexController.scala
2013-06-16 03:20:34 +09:00

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))
}
}