Sha256: 2aac02ba3a0d375a77615645ca1e728b9397ac81d8d92d6ed1a114e3fd94c844

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

module IrwiMod::Extensions::Models::WikiPageAttachment

  DEFAULT_PAPERCLIP_OPTIONS = {:styles => { :medium => "300x300>", :thumb => "100x100>" }}

  def self.included( base )
    base.belongs_to :page, :class_name => IrwiMod.config.page_class_name
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
irwi_mod-0.0.2 lib/irwi_mod/extensions/models/wiki_page_attachment.rb
irwi_mod-0.0.1 lib/irwi_mod/extensions/models/wiki_page_attachment.rb