Skip to main content

403 Error

In order to use the PMACS Frontend error layout, you must add pmacs-frontend after pmacs_app_resources in your Gemfile, like so:

# Gemfile

# Our custom PMACS-specific gems
...
gem 'pmacs_app_resources'
gem 'pmacs-frontend'

This way, the error.html.erb file from PMACS Frontend will be required after the corresponding file in pmacs_app_resources.

If you see a page that reads:

I can't let you do that, [current_user]
You are not authorized to view the page you requested.

with no styling, this is a likely sign that you are using the pmacs_app_resources file.