Sha256: ee5f15a1086d3bea17bc0e0a02e7ee678c36991719b93cc8855b9f7d2dfc3534

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 Bytes

Contents

require 'refinery'

module Refinery
  module VimeoVideos
    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 = "vimeo_videos"
          plugin.hide_from_menu = true
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.1.4 lib/refinerycms-vimeo-videos.rb
refinerycms-vimeo-videos-0.1.3 lib/refinerycms-vimeo-videos.rb