Sha256: 5af4c386a9f334320b699f3db7900e636497aed0e726c300f315b15684e42235

Contents?: true

Size: 212 Bytes

Versions: 1

Compression:

Stored size: 212 Bytes

Contents

class SpudPostSite < ActiveRecord::Base
  # attr_accessible :spud_post_id, :spud_site_id
  belongs_to :spud_post, :touch => true

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spud_blog-1.0.2 app/models/spud_post_site.rb