Sha256: 1df3e306ccfdb8f258db55db3bbaccbcc9798578de365208590ce9f768a001d1

Contents?: true

Size: 196 Bytes

Versions: 22

Compression:

Stored size: 196 Bytes

Contents

class SpudPostSite < ActiveRecord::Base
  attr_accessible :spud_post_id, :spud_site_id
  belongs_to :spud_post

  def spud_site
    return Spud::Core.site_config_for_id(spud_site_id)
  end
  
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
spud_blog-0.8.14 app/models/spud_post_site.rb
spud_blog-0.8.13 app/models/spud_post_site.rb