created version diff
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
class FileVersion < ActiveRecord::Base
|
||||
belongs_to :configuration_file
|
||||
|
||||
def restore!
|
||||
configuration_file.update_by_form(content, configuration_file.file_path)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user