globals now implemented and documented

This commit is contained in:
Sam
2013-12-20 16:17:21 +11:00
parent b312b4d563
commit 7b8d2547d0
4 changed files with 152 additions and 11 deletions

View File

@ -5,6 +5,9 @@ require 'redis-store' # HACK
# Plugin related stuff
require_relative '../lib/discourse_plugin_registry'
# Global config
require_relative '../app/models/global_setting'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(assets: %w(development test profile)))