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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3c0a94a0
Commit
3c0a94a0
authored
Jun 22, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When repository_storage is nil, pick default from local configuration
parent
4d3eac1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
app/models/geo/deleted_project.rb
app/models/geo/deleted_project.rb
+3
-1
No files found.
app/models/geo/deleted_project.rb
View file @
3c0a94a0
...
@@ -2,7 +2,9 @@ class Geo::DeletedProject < ::Project
...
@@ -2,7 +2,9 @@ class Geo::DeletedProject < ::Project
after_initialize
:readonly!
after_initialize
:readonly!
attr_reader
:path_with_namespace
attr_reader
:path_with_namespace
def
initialize
(
id
:,
name
:,
path_with_namespace
:,
repository_storage:
'default'
)
def
initialize
(
id
:,
name
:,
path_with_namespace
:,
repository_storage
:)
repository_storage
=
current_application_settings
.
pick_repository_storage
unless
repository_storage
super
(
id:
id
,
name:
name
,
repository_storage:
repository_storage
)
super
(
id:
id
,
name:
name
,
repository_storage:
repository_storage
)
@path_with_namespace
=
path_with_namespace
@path_with_namespace
=
path_with_namespace
end
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