Commit 1a90baa1 authored by Aishwarya Subramanian's avatar Aishwarya Subramanian

Modified route to nest under -

parent ab560c72
Pipeline #78490179 passed with stages
in 71 minutes and 33 seconds
......@@ -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
......
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment