moved code that gets executed when the permission was denied into the permission_denied method which makes it easier to overwrite the behavior e.g. for redirecting to a login page
moved code that gets executed when the permission was denied into the permission_denied method which makes it easier to overwrite the behavior e.g. for redirecting to a login page

langalex/totally-restful-authorization