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
1a90baa1
Commit
1a90baa1
authored
Aug 27, 2019
by
Aishwarya Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified route to nest under -
parent
ab560c72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
app/controllers/registrations_controller.rb
app/controllers/registrations_controller.rb
+1
-1
config/routes.rb
config/routes.rb
+1
-4
No files found.
app/controllers/registrations_controller.rb
View file @
1a90baa1
...
...
@@ -115,7 +115,7 @@ class RegistrationsController < Devise::RegistrationsController
end
def
resource
@resource
||=
Users
::
BuildService
.
new
(
current_user
,
sign_up_params
).
execute
(
skip_authorization:
true
)
@resource
||=
Users
::
BuildService
.
new
(
current_user
,
sign_up_params
).
execute
end
def
devise_mapping
...
...
config/routes.rb
View file @
1a90baa1
...
...
@@ -110,6 +110,7 @@ Rails.application.routes.draw do
draw
:smartcard
draw
:jira_connect
draw
:username
draw
:trial_registration
end
Gitlab
.
ee
do
...
...
@@ -188,10 +189,6 @@ Rails.application.routes.draw do
draw
:user
draw
:project
Gitlab
.
ee
do
draw
:trial_registration
end
root
to:
"root#index"
get
'*unmatched_route'
,
to:
'application#route_not_found'
...
...
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