We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c828cf8 commit 6076a32Copy full SHA for 6076a32
app/controllers/forest_liana/application_controller.rb
@@ -6,6 +6,7 @@ class ApplicationController < ForestLiana::BaseController
6
rescue_from ForestLiana::Ability::Exceptions::AccessDenied, with: :render_error
7
rescue_from ForestLiana::Errors::HTTP403Error, with: :render_error
8
rescue_from ForestLiana::Errors::HTTP422Error, with: :render_error
9
+ rescue_from ForestLiana::Errors::ExpectedError, with: :render_error
10
11
def self.papertrail?
12
Object.const_get('PaperTrail::Version').is_a?(Class) rescue false
0 commit comments