Sha256: d3714baad0504ca2cdf6bb1c754968c6ed3b0d9e1da8878715dde8b8ae538524
Contents?: true
Size: 374 Bytes
Versions: 3
Compression:
Stored size: 374 Bytes
Contents
module Panda module CMS class Visit < ApplicationRecord belongs_to :page, class_name: "Panda::CMS::Page", foreign_key: :page_id, optional: true belongs_to :user, class_name: "Panda::CMS::User", foreign_key: :user_id, optional: true belongs_to :redirect, class_name: "Panda::CMS::Redirect", foreign_key: :redirect_id, optional: true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
panda-cms-0.7.3 | app/models/panda/cms/visit.rb |
panda-cms-0.7.2 | app/models/panda/cms/visit.rb |
panda-cms-0.7.0 | app/models/panda/cms/visit.rb |