Reputation: 12131
I have an application where the login page is using Facebook Graph API and the login button is at http://localhost:8080/ or index.gsp. So, I created a filter that check every action on every controller controller:'', action:''
So, when I go to http://localhost:8080/ it's blocked as well. How can I apple the filter to every action and every controller except the homepage?
Thanks
Upvotes: 1
Views: 1121
Reputation: 2174
Filter matching all controllers except the HomeController
:
allButHome(controller:'home', invert:true) {
}
Upvotes: 1