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