Skip to content

Commit

Permalink
keep session
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivar Abrahamsen committed May 17, 2012
1 parent 4798035 commit 27b9f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/EventController.scala
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ object EventController extends Controller with EventWrappers with Secured {


def notEventParticipant(event: Event)(implicit session:Session, flash: Flash) = { def notEventParticipant(event: Event)(implicit session:Session, flash: Flash) = {
Logger.info("Not an event participant") 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") //.flashing("errorMessage"->"Event private, and you do not have access to it")
} }


Expand Down

0 comments on commit 27b9f16

Please sign in to comment.