(refs #341)Fix compilation error other than date mapping and delete statement

This commit is contained in:
Naoki Takezoe
2014-07-06 13:07:05 +09:00
parent 259bcfc14f
commit 32897c36f9
8 changed files with 19 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ trait ActivityService {
.take(30)
.list
def getRecentActivities(implicit s: Session): List[Activity] =
def getRecentActivities()(implicit s: Session): List[Activity] =
Activities
.innerJoin(Repositories).on((t1, t2) => t1.byRepository(t2.userName, t2.repositoryName))
.filter { case (t1, t2) => t2.isPrivate is false.bind }