Sha256: a12af39a7beb2138fca148208d1bbb55ff552d6932edf6cb905ca5331205055b
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
Refinery::Plugin.register do |plugin| plugin.title = "Inquiries" plugin.description = "Provides a contact form and stores inquiries" plugin.version = 1.0 plugin.menu_match = /admin\/inquir(ies|y_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.join("vendor", "plugins", "inquiries", "app", "views").to_s
Version data entries
4 entries across 4 versions & 1 rubygems