Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 7ad3e5f6ea
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (19 sloc) 0.524 kB
require 'refinerycms-base'
module Refinery
module MailingLists
class Engine < Rails::Engine
initializer "static assets" do |app|
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
end
config.after_initialize do
Refinery::Plugin.register do |plugin|
plugin.name = "mailing_lists"
plugin.activity = {
:class => MailingList,
:title => 'email'
}
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.