Merge branch '104525318-history_import' into staging

# Conflicts:
#	Gemfile
#	app/models/domain.rb
#	config/locales/en.yml
This commit is contained in:
Vladimir Krylov 2016-03-04 14:48:41 +02:00
commit fe930c7535
3 changed files with 4 additions and 3 deletions

View file

@ -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