Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
63d0bf1f
Commit
63d0bf1f
authored
Mar 17, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix external wiki service
parent
8aa2cd46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/project.rb
app/models/project.rb
+1
-1
app/models/service.rb
app/models/service.rb
+1
-1
No files found.
app/models/project.rb
View file @
63d0bf1f
...
...
@@ -89,11 +89,11 @@ class Project < ActiveRecord::Base
has_one
:redmine_service
,
dependent: :destroy
has_one
:custom_issue_tracker_service
,
dependent: :destroy
has_one
:gitlab_issue_tracker_service
,
dependent: :destroy
has_one
:external_wiki_service
,
dependent: :destroy
has_one
:forked_project_link
,
dependent: :destroy
,
foreign_key:
"forked_to_project_id"
has_one
:forked_from_project
,
through: :forked_project_link
has_one
:external_wiki_service
,
dependent: :destroy
# Merge Requests for target project should be removed with it
has_many
:merge_requests
,
dependent: :destroy
,
foreign_key:
'target_project_id'
# Merge requests from source project should be kept when source project was removed
...
...
app/models/service.rb
View file @
63d0bf1f
...
...
@@ -140,7 +140,7 @@ class Service < ActiveRecord::Base
redmine
custom_issue_tracker
irker
external_wiki
_service
external_wiki
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment