remove empty plugin.rb file

This commit is contained in:
Régis Hanol 2013-11-13 16:14:22 +01:00
parent c23c8a7e3a
commit a01b423263
2 changed files with 3 additions and 9 deletions

View File

@ -134,17 +134,11 @@ module Discourse
config.ember.ember_location = "#{Rails.root}/vendor/assets/javascripts/production/ember.js"
config.ember.handlebars_location = "#{Rails.root}/vendor/assets/javascripts/handlebars.js"
unless rails4?
# Since we are using strong_parameters, we can disable and remove
# attr_accessible.
config.active_record.whitelist_attributes = false
end
# Since we are using strong_parameters, we can disable and remove attr_accessible.
config.active_record.whitelist_attributes = false unless rails4?
require 'plugin'
require 'auth'
unless Rails.env.test?
Discourse.activate_plugins!
end
Discourse.activate_plugins! unless Rails.env.test?
config.after_initialize do
# So open id logs somewhere sane

View File