Permalink
Browse files

keep session

  • Loading branch information...
1 parent 4798035 commit 27b9f164685c6cebb3fecb9343998bd37d8b42ce Ivar Abrahamsen committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/EventController.scala
@@ -53,7 +53,7 @@ object EventController extends Controller with EventWrappers with Secured {
def notEventParticipant(event: Event)(implicit session:Session, flash: Flash) = {
Logger.info("Not an event participant")
- Unauthorized(views.html.events.unauthorised(event)).withSession(session+"eventId"->event.eventId.toString)
+ Unauthorized(views.html.events.unauthorised(event)).withSession(session+("eventId"->event.eventId.toString))
//.flashing("errorMessage"->"Event private, and you do not have access to it")
}

0 comments on commit 27b9f16

Please sign in to comment.