I’ve tried multiple exclusions with @Before in Play framework 1.2.3 (see below) but it does not appear whether I can do so or perhaps I am using an incorrect syntax. I do not wish to use ‘only’ with multiple values unless there is no other way around it. The first one works, the second does not.
This works:
@Before(unless="login")
This one does not work:
@Before(unless="login", "signup")
I needed to pass in the values into an array i.e. {“login”,”signup”} – which works on play 1.2.3.