Created
March 10, 2017 19:11
-
-
Save cnk/e936caaf335521d0c39cebfc45229a82 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment