Sha256: 4040421f4f1030200bb9b47e8324a96e03c34911393be46889cd71a8e143afaf

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

module Irwi::Helpers
  autoload :WikiPagesHelper, 'irwi/helpers/wiki_pages_helper'
  autoload :WikiPageAttachmentsHelper, 'irwi/helpers/wiki_page_attachments_helper'
end

Module.class_eval do

  def acts_as_wiki_pages_helper( config = {} )
    include Irwi::Helpers::WikiPagesHelper
    include Irwi::Helpers::WikiPageAttachmentsHelper if Irwi::config.page_attachment_class_name
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
irwi-0.5.0 lib/irwi/helpers.rb
irwi-0.4.2 lib/irwi/helpers.rb
irwi-0.4.1 lib/irwi/helpers.rb
irwi-0.4.0 lib/irwi/helpers.rb