Sha256: 8de470fc0c0b80544e6569ae73ee86a78893746ee1b361a3dcc221f6a11836b7

Contents?: true

Size: 218 Bytes

Versions: 32

Compression:

Stored size: 218 Bytes

Contents

module ForumSite

  def self.included(base)
    base.class_eval %{
      has_many :forums
      has_many :topics
      has_many :posts
      belongs_to :forum_layout, :class_name => 'Layout'
    } 
    super
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 lib/forum_site.rb
radiant-forum-extension-3.0.6 lib/forum_site.rb
radiant-forum-extension-3.0.5 lib/forum_site.rb
radiant-forum-extension-3.0.4 lib/forum_site.rb
radiant-forum-extension-3.0.3 lib/forum_site.rb
radiant-forum-extension-3.0.2 lib/forum_site.rb
radiant-forum-extension-3.0.1 lib/forum_site.rb
radiant-forum-extension-3.0.0 lib/forum_site.rb
radiant-forum-extension-3.0.0.rc6 lib/forum_site.rb
radiant-forum-extension-3.0.0.rc4 lib/forum_site.rb
radiant-forum-extension-3.0.0.rc3 lib/forum_site.rb
radiant-forum-extension-2.1.6 lib/forum_site.rb
radiant-forum-extension-2.1.4 lib/forum_site.rb
radiant-forum-extension-2.1.3 lib/forum_site.rb
radiant-forum-extension-2.1.2 lib/forum_site.rb
radiant-forum-extension-2.1.1 lib/forum_site.rb
radiant-forum-extension-2.0.9 lib/forum_site.rb
radiant-forum-extension-2.0.8 lib/forum_site.rb
radiant-forum-extension-2.0.7 lib/forum_site.rb
radiant-forum-extension-2.0.6 lib/forum_site.rb