| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
`render_respond_to_format_with_error_message` is called both when rescuing from Pundit::NotAuthorizedError and ActiveRecord::RecordNotFound. The method works properly with .html format, but prior to this change, ActionController::UnknownFormat was thrown for .pdf format.
There was a problem hiding this comment.
I have tested pdf export using a existing plan and a non existing plan:


Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #3414
Changes proposed in this PR: