Class: PublicContent

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Housekeeping
Defined in:
app/models/public_content.rb

Instance Method Summary collapse

Methods included from Housekeeping

#has_polymorphic_relationship?

Instance Method Details

#versionObject



12
13
14
# File 'app/models/public_content.rb', line 12

def version
  self.content.version
end