Fix the index page.

This commit is contained in:
takezoe
2013-06-03 01:36:35 +09:00
parent 1ab58d0363
commit b2af70d611
6 changed files with 45 additions and 13 deletions

View File

@@ -1,9 +1,13 @@
package app
class IndexController extends ControllerBase {
import service._
class IndexController extends IndexControllerBase with ProjectService with AccountService
trait IndexControllerBase extends ControllerBase { self: ProjectService =>
get("/"){
html.index()
html.index(getAccessibleRepositories(context.loginAccount, servletContext))
}
}