Sha256: bd19e580f647eaa6ca9d2e4b8ae480f2d4462d160ab10949df197e409558ee3b

Contents?: true

Size: 757 Bytes

Versions: 20

Compression:

Stored size: 757 Bytes

Contents

Refinery::Plugin.register do |plugin|
	plugin.directory = directory
	plugin.title = "Inquiries"
	plugin.description = "Provides a contact form and stores inquiries"
	plugin.version = 1.0
	plugin.menu_match = /admin\/((inquiries)|(inquiry_settings))$/
	plugin.activity = [
	  {:class => Inquiry, :title => "name", :url_prefix => "", :created_image => "user_comment.png", :updated_image => "user_edit.png"}, 
	  {:class => InquirySetting, :url_prefix => "edit", :title => 'name', :url_prefix => 'edit', :created_image => "user_comment.png", :updated_image => "user_edit.png"}
	]
end

# Set the actionmailer root so that it'll work for delivering emails from this plugin.
ActionMailer::Base.template_root = "#{REFINERY_ROOT}/vendor/plugins/inquiries/app/views"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.12 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.11 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.10 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.9 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.8 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.7 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.6 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.5 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.4 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.3 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.2 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5.1 vendor/plugins/inquiries/init.rb
refinerycms-0.9.5 vendor/plugins/inquiries/init.rb
refinerycms-0.9.4.5 vendor/plugins/inquiries/init.rb
refinerycms-0.9.4.4 vendor/plugins/inquiries/init.rb
refinerycms-0.9.4.3 vendor/plugins/inquiries/init.rb
refinerycms-0.9.4.2 vendor/plugins/inquiries/init.rb
refinerycms-0.9.4.1 vendor/plugins/inquiries/init.rb
refinerycms-0.9.4 vendor/plugins/inquiries/init.rb