Skip to content

Instantly share code, notes, and snippets.

@svizzari
Created December 12, 2012 02:47
Show Gist options
  • Save svizzari/4264426 to your computer and use it in GitHub Desktop.
Save svizzari/4264426 to your computer and use it in GitHub Desktop.
beforeFilters: {
switchTo: function() {
return false; // or some truthy value
},
someOtherMethod: 'methodName'
}
@svizzari
Copy link
Author

Filters might have the ability to block normal execution of the final method/key, this is the intent of the comment at #switchTo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment