Skip to content

Commit

Permalink
implemented change from SO answer, still no luck
Browse files Browse the repository at this point in the history
  • Loading branch information
burma-shave committed Apr 16, 2013
1 parent eb4c63b commit ac7a2fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ trait UserComponent { this: Profile with PictureComponent => //requires Profile


def userAndPicById = for { def userAndPicById = for {
id <- Parameters[Int] id <- Parameters[Int]
user <- this if user.id === id user <- Query(Users) if user.id === id
} yield justNameAndPicId } yield justNameAndPicId
} }
} }
Expand Down

0 comments on commit ac7a2fa

Please sign in to comment.