Sha256: 514782d3605d7a94146f7963216c03487180e13db12bf2f9b981625e74113861
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 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}/vendor/plugins/inquiries/app/views"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-0.9.6.9 | vendor/plugins/inquiries/rails/init.rb |
refinerycms-0.9.6.8 | vendor/plugins/inquiries/rails/init.rb |