lib/refinerycms-resources.rb in refinerycms-resources-0.9.9.20 vs lib/refinerycms-resources.rb in refinerycms-resources-0.9.9.21
- old
+ new
@@ -12,11 +12,11 @@
end
end
class Engine < ::Rails::Engine
- initializer "serve static assets" do |app|
+ initializer 'serve static assets' do |app|
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
end
initializer 'resources-with-dragonfly' do |app|
app_resources = Dragonfly[:resources]
@@ -55,13 +55,13 @@
}
end
config.after_initialize do
::Refinery::Plugin.register do |plugin|
- plugin.name = "refinery_files"
+ plugin.name = 'refinery_files'
plugin.url = {:controller => '/admin/resources', :action => 'index'}
plugin.menu_match = /(refinery|admin)\/(refinery_)?(files|resources)$/
- plugin.version = %q{0.9.9.17}
+ plugin.version = %q{0.9.9.21}
plugin.activity = {
:class => Resource
}
end
end