Sha256: c296a5fc47e504c4e8726815ca93fbe687ff50e543afe092a94308116bd30b44
Contents?: true
Size: 744 Bytes
Versions: 6
Compression:
Stored size: 744 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
6 entries across 6 versions & 2 rubygems