Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (11 sloc) 626 Bytes
config.gem "justinfrench-formtastic", :lib => 'formtastic', :source => 'http://gems.github.com'
config.after_initialize do
if RAILS_ENV == 'development'
ActiveSupport::Dependencies.load_once_paths = ActiveSupport::Dependencies.load_once_paths.select {|path| (path =~ /(community_engine_groups)/).nil? }
end
end
require_plugin 'community_engine'
require_plugin 'resource_controller'
config.plugin_paths += ["#{RAILS_ROOT}/vendor/plugins/community_engine_groups/plugins"]
I18n.load_path += Dir[ (File.join(RAILS_ROOT, "vendor", "plugins", "community_engine_groups", "lang", "ui", '*.{rb,yml}')) ]
I18n.reload!