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:
parent
386bc7382d
commit
9cd3c800bd
4 changed files with 59 additions and 28 deletions
5
config/initializers/01_load_app_config.rb
Normal file
5
config/initializers/01_load_app_config.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue