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
1f5160ad
Commit
1f5160ad
authored
Oct 14, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update onboarding template project
Changelog: fixed EE: true
parent
7a939996
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
ee/app/controllers/concerns/registrations/create_project.rb
ee/app/controllers/concerns/registrations/create_project.rb
+1
-8
ee/spec/support/shared_examples/controllers/registrations/projects_controller_shared_examples.rb
...lers/registrations/projects_controller_shared_examples.rb
+1
-1
vendor/project_templates/learn_gitlab.tar.gz
vendor/project_templates/learn_gitlab.tar.gz
+0
-0
No files found.
ee/app/controllers/concerns/registrations/create_project.rb
View file @
1f5160ad
...
...
@@ -4,20 +4,13 @@ module Registrations::CreateProject
extend
ActiveSupport
::
Concern
include
LearnGitlabHelper
LEARN_GITLAB_TEMPLATE
=
'learn_gitlab.tar.gz'
LEARN_GITLAB_ULTIMATE_TEMPLATE
=
'learn_gitlab_ultimate_trial.tar.gz'
included
do
private
def
learn_gitlab_template_path
file
=
if
helpers
.
in_trial_onboarding_flow?
LEARN_GITLAB_ULTIMATE_TEMPLATE
else
LEARN_GITLAB_TEMPLATE
end
Rails
.
root
.
join
(
'vendor'
,
'project_templates'
,
file
)
Rails
.
root
.
join
(
'vendor'
,
'project_templates'
,
LEARN_GITLAB_ULTIMATE_TEMPLATE
)
end
def
create_learn_gitlab_project
...
...
ee/spec/support/shared_examples/controllers/registrations/projects_controller_shared_examples.rb
View file @
1f5160ad
...
...
@@ -43,7 +43,7 @@ RSpec.shared_examples "Registrations::ProjectsController POST #create" do
using
RSpec
::
Parameterized
::
TableSyntax
where
(
:trial
,
:project_name
,
:template
)
do
false
|
'Learn GitLab'
|
described_class
::
LEARN_GITLAB_TEMPLATE
false
|
'Learn GitLab'
|
described_class
::
LEARN_GITLAB_
ULTIMATE_
TEMPLATE
true
|
'Learn GitLab - Ultimate trial'
|
described_class
::
LEARN_GITLAB_ULTIMATE_TEMPLATE
end
...
...
vendor/project_templates/learn_gitlab.tar.gz
deleted
100644 → 0
View file @
7a939996
File deleted
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