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
924f2f79
Commit
924f2f79
authored
Feb 22, 2018
by
Micaël Bergeron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a missing method
parent
f55ceb05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/uploaders/namespace_file_uploader.rb
app/uploaders/namespace_file_uploader.rb
+1
-1
app/uploaders/personal_file_uploader.rb
app/uploaders/personal_file_uploader.rb
+1
-1
No files found.
app/uploaders/namespace_file_uploader.rb
View file @
924f2f79
...
...
@@ -20,7 +20,7 @@ class NamespaceFileUploader < FileUploader
def
store_dirs
{
Store
::
LOCAL
=>
File
.
join
(
base_dir
,
dynamic_segment
),
Store
::
REMOTE
=>
File
.
join
(
'namespace'
,
model_path_segment
,
dynamic_segment
)
Store
::
REMOTE
=>
File
.
join
(
'namespace'
,
self
.
class
.
model_path_segment
(
model
)
,
dynamic_segment
)
}
end
end
app/uploaders/personal_file_uploader.rb
View file @
924f2f79
...
...
@@ -34,7 +34,7 @@ class PersonalFileUploader < FileUploader
def
store_dirs
{
Store
::
LOCAL
=>
File
.
join
(
base_dir
,
dynamic_segment
),
Store
::
REMOTE
=>
File
.
join
(
model_path_segment
,
dynamic_segment
)
Store
::
REMOTE
=>
File
.
join
(
self
.
class
.
model_path_segment
(
model
)
,
dynamic_segment
)
}
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