Fix error in production 'undefined method settings for nil:NilClass'
Merge pull request #140 from CruGlobal/MH-674

Fix error in production 'undefined method settings for nil:NilClass'