Sha256: c88ecdc5280c726bc5f7b5955243b701accb391337a31302d1c4fab94a994dc2

Contents?: true

Size: 592 Bytes

Versions: 15

Compression:

Stored size: 592 Bytes

Contents

Refinery::Plugin.register do |plugin|
  plugin.title = "Images"
  plugin.name = "refinery_images"
  plugin.directory = "images"
  plugin.description = "Manage images"
  plugin.version = 1.0
  plugin.menu_match = /(refinery|admin)\/image(_dialog)?s$/
  plugin.activity = {
    :class => Image,
    :title => 'title',
    :url_prefix => 'edit',
    :conditions => "parent_id IS NULL",
    :created_image => "image_add.png",
    :updated_image => "image_edit.png"
  }
  # this tells refinery where this plugin is located on the filesystem and helps with urls.
  plugin.directory = directory
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
refinerycms-0.9.7.15 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.14 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.13 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.11 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.10 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.9 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.8 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.7 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.6 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.5 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.4 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.3 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.2 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7.1 vendor/plugins/images/rails/init.rb
refinerycms-0.9.7 vendor/plugins/images/rails/init.rb