lib/refinerycms-inquiries.rb in refinerycms-inquiries-1.0.1 vs lib/refinerycms-inquiries.rb in refinerycms-inquiries-2.0.0

- old
+ new

@@ -1,23 +2 @@ -require File.expand_path('../inquiries', __FILE__) - -module Refinery - module Inquiries - class Engine < Rails::Engine - config.to_prepare do - require 'filters_spam' - end - - config.after_initialize do - Refinery::Plugin.register do |plugin| - plugin.name = "refinery_inquiries" - plugin.directory = "inquiries" - plugin.menu_match = /(refinery|admin)\/inquir(ies|y_settings)$/ - plugin.activity = { - :class => InquirySetting, - :title => 'name' - } - end - end - end - end -end \ No newline at end of file +require 'refinery/inquiries'