Sign in
EDIT
/
kanjai
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
a317668f43f13f1145f4eb6549ea03500e830271
Authored by
Andrey Karpikov
2020-08-04 12:07:07 +0300
1 parent
0bd528ea
make alternative domain as not required field
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/models/kanjai/page_lang.rb
lib/kanjai/version.rb
app/models/kanjai/page_lang.rb
View file @
a317668
...
...
@@ -2,7 +2,7 @@ module Kanjai
2
2
class
PageLang
<
ActiveRecord
::
Base
3
3
4
4
belongs_to
:domain
5
-
belongs_to
:language_domain
5
+
belongs_to
:language_domain
,
optional:
true
6
6
7
7
validates
:code
,
:title
,
presence:
true
8
8
...
...
lib/kanjai/version.rb
View file @
a317668
1
1
module
Kanjai
2
-
VERSION
=
"0.0.20
6
"
2
+
VERSION
=
"0.0.20
7
"
3
3
end
...
...