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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
e05bc611
Commit
e05bc611
authored
Mar 14, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix project snippets json issue
parent
ba1fcf36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
app/services/projects/import_export.rb
app/services/projects/import_export.rb
+5
-1
No files found.
app/services/projects/import_export.rb
View file @
e05bc611
...
@@ -11,11 +11,15 @@ module Projects
...
@@ -11,11 +11,15 @@ module Projects
end
end
def
project_tree
def
project_tree
%i(issues labels milestones
snippets releases events)
+
[
members
,
merge_requests
,
commit_statuses
]
%i(issues labels milestones
releases events)
+
[
snippets
,
members
,
merge_requests
,
commit_statuses
]
end
end
private
private
def
snippets
{
snippets:
{
except: :expired_at
}
}
end
def
merge_requests
def
merge_requests
{
merge_requests:
{
include: :merge_request_diff
}
}
{
merge_requests:
{
include: :merge_request_diff
}
}
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