Sha256: 44dad5dcf805aeee3a708b8d1e7774bb39ba1982c0a88d4f0384b58fcfed81dc

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

require 'refinerycms-base'
require 'vimeo'

require 'refinerycms_vimeo_videos/account'

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.6 lib/refinerycms-vimeo-videos.rb
refinerycms-vimeo-videos-0.1.5 lib/refinerycms-vimeo-videos.rb