Commit a317668f43f13f1145f4eb6549ea03500e830271

Authored by Andrey Karpikov
1 parent 0bd528ea

make alternative domain as not required field

@@ -2,7 +2,7 @@ module Kanjai @@ -2,7 +2,7 @@ module Kanjai
2 class PageLang < ActiveRecord::Base 2 class PageLang < ActiveRecord::Base
3 3
4 belongs_to :domain 4 belongs_to :domain
5 - belongs_to :language_domain 5 + belongs_to :language_domain, optional: true
6 6
7 validates :code, :title, presence: true 7 validates :code, :title, presence: true
8 8
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.206" 2 + VERSION = "0.0.207"
3 end 3 end