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
521b072b
Commit
521b072b
authored
Apr 05, 2022
by
minahilnichols
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove changed file no longer necessary
parent
a6ac52d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/controllers/trials_controller.rb
ee/app/controllers/trials_controller.rb
+2
-2
No files found.
ee/app/controllers/trials_controller.rb
View file @
521b072b
...
@@ -32,7 +32,7 @@ class TrialsController < ApplicationController
...
@@ -32,7 +32,7 @@ class TrialsController < ApplicationController
render
(
:new
)
&&
return
unless
@result
[
:success
]
render
(
:new
)
&&
return
unless
@result
[
:success
]
if
params
[
:onboarding
]
if
params
[
:onboarding
]
==
'true'
redirect_to
(
new_users_sign_up_groups_project_path
(
url_params
.
merge
(
trial_onboarding_flow:
true
)))
redirect_to
(
new_users_sign_up_groups_project_path
(
url_params
.
merge
(
trial_onboarding_flow:
true
)))
elsif
@namespace
=
helpers
.
only_trialable_group_namespace
elsif
@namespace
=
helpers
.
only_trialable_group_namespace
params
[
:namespace_id
]
=
@namespace
.
id
params
[
:namespace_id
]
=
@namespace
.
id
...
@@ -132,7 +132,7 @@ class TrialsController < ApplicationController
...
@@ -132,7 +132,7 @@ class TrialsController < ApplicationController
def
company_params
def
company_params
params
.
permit
(
:company_name
,
:company_size
,
:first_name
,
:last_name
,
:phone_number
,
params
.
permit
(
:company_name
,
:company_size
,
:first_name
,
:last_name
,
:phone_number
,
:country
,
:state
,
:glm_content
,
:glm_source
).
merge
(
extra_params
)
:country
,
:state
,
:
website_url
,
:
glm_content
,
:glm_source
).
merge
(
extra_params
)
end
end
def
extra_params
def
extra_params
...
...
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