Use ExceptionNotification via generator generated code

Ensure that FoodsoftConfig is loaded before running the initalizers.
This also enables notifaction for Resque.
This commit is contained in:
Patrick Gansterer 2017-10-03 20:36:17 +02:00
parent 386bc7382d
commit 9cd3c800bd
4 changed files with 59 additions and 28 deletions

View file

@ -0,0 +1,5 @@
# Initial load the default config and database from rails environment
# See config/app_config.yml for further details
# Load Config, start by selecting defaults via current environment
require 'foodsoft_config'
FoodsoftConfig.init