Reputation: 20232
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")
Upvotes: 1
Views: 350
Reputation: 20232
I needed to pass in the values into an array i.e. {"login","signup"} - which works on play 1.2.3.
Upvotes: 1