Sha256: caf09a5879eb6e03154aca53698e15b8edfd5dcab85b83a91bdbb8b5d05c4c94

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

require 'refinerycms-base'
require 'vimeo'

require 'refinerycms_vimeo_videos/account'
require 'refinerycms_vimeo_videos/active_record_extension'
require 'refinerycms_vimeo_videos/url_tempfile'

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

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.1.7 lib/refinerycms-vimeo-videos.rb