mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Merge branch '104525318-history_import' into staging
# Conflicts: # Gemfile # app/models/domain.rb # config/locales/en.yml
This commit is contained in:
commit
fe930c7535
3 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,7 @@ class LegalDocument < ActiveRecord::Base
|
|||
validates :body, length: { minimum: (1.37 * 1.4).ceil }, unless: :path
|
||||
|
||||
before_create :add_creator
|
||||
before_save :save_to_filesystem
|
||||
before_save :save_to_filesystem, if: :body
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue