Class: Pageflow::FileUsage

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/pageflow/file_usage.rb

Instance Method Summary collapse

Instance Method Details

#copy_to(revision) ⇒ Object


6
7
8
# File 'app/models/pageflow/file_usage.rb', line 6

def copy_to(revision)
  revision.file_usages << dup
end