Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
def permission_denied
@page_args[:title] = "Permission Denied"
@body = "You are not allowed to view the page you have requested. If you believe you should have been able to view that page, please use the contact information in the footer to report this problem."
render 'system/errors', status: 403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment