   ###
   getSnippet: (name, callback) ->
 
-    return  unless @snippets[name]
+    return  unless @snippets?[name]
 
     { type, file } = @snippets[name]
 


    @snippets      = null
    @shownSnippets = {}

    $.ajax
      url      : @buildUrl 'config.json'


###*
 * A controller for managing marketing snippets.
 * Snippets are available for super admin only
 *
 * @class
###
module.exports = class MarketingController extends KDController

