Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Admin
Commits
d29b4027
Commit
d29b4027
authored
3 years ago
by
pabois
Browse files
Options
Downloads
Patches
Plain Diff
close #112
parent
2c9bc4d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/models/education/school.rb
+1
-1
1 addition, 1 deletion
app/models/education/school.rb
app/models/research/journal.rb
+1
-1
1 addition, 1 deletion
app/models/research/journal.rb
with
2 additions
and
2 deletions
app/models/education/school.rb
+
1
−
1
View file @
d29b4027
...
...
@@ -27,7 +27,7 @@ class Education::School < ApplicationRecord
include WithGit
belongs_to :university
has_many :websites, class_name: 'Communication::Website', as: :about
has_many :websites, class_name: 'Communication::Website', as: :about
, dependent: :nullify
has_and_belongs_to_many :programs,
class_name: 'Education::Program',
join_table: 'education_programs_schools',
...
...
This diff is collapsed.
Click to expand it.
app/models/research/journal.rb
+
1
−
1
View file @
d29b4027
...
...
@@ -24,7 +24,7 @@ class Research::Journal < ApplicationRecord
include WithGit
belongs_to :university
has_many :websites, class_name: 'Communication::Website', as: :about
has_many :websites, class_name: 'Communication::Website', as: :about
, dependent: :nullify
has_many :volumes, foreign_key: :research_journal_id, dependent: :destroy
has_many :articles, foreign_key: :research_journal_id, dependent: :destroy
has_many :researchers, through: :articles
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment