How can I rescue ActiveRecord::RecordNotFound in Activeadmin for all my resources?
I know in Rails I can put rescue_from(ActiveRecord::RecordNotFound)
in the ApplicationController, is there an equivalent way of doing this in ActiveAdmin?
How can I rescue ActiveRecord::RecordNotFound in Activeadmin for all my resources?
I know in Rails I can put rescue_from(ActiveRecord::RecordNotFound)
in the ApplicationController, is there an equivalent way of doing this in ActiveAdmin?
EDIT: You can do this at one place for all resources: