lib/hancock_cms.rb in hancock_cms-1.0.0.3 vs lib/hancock_cms.rb in hancock_cms-1.0.0.4
- old
+ new
@@ -79,10 +79,10 @@
puts m.name
m.goto_hancock
}
end
def register_plugin(plugin)
- Hancock::PLUGINS << plugin unless Hancock::MODELS.include?(plugin)
+ Hancock::PLUGINS << plugin unless Hancock::PLUGINS.include?(plugin)
end
def clear_history_from_empty_objects
::HistoryTracker.all.map do |h|
begin