|
|
|
@ -16,11 +16,13 @@ Rails.application.routes.draw do
|
|
|
|
|
|
|
|
|
|
|
|
devise_scope :user do
|
|
|
|
devise_scope :user do
|
|
|
|
if Docuseal.multitenant?
|
|
|
|
if Docuseal.multitenant?
|
|
|
|
|
|
|
|
unauthenticated do
|
|
|
|
resource :registration, only: %i[show], path: 'sign_up'
|
|
|
|
resource :registration, only: %i[show], path: 'sign_up'
|
|
|
|
resource :registration, only: %i[create], path: 'new' do
|
|
|
|
resource :registration, only: %i[create], path: 'new' do
|
|
|
|
get '' => :new, as: :new
|
|
|
|
get '' => :new, as: :new
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
resource :invitation, only: %i[update] do
|
|
|
|
resource :invitation, only: %i[update] do
|
|
|
|
get '' => :edit
|
|
|
|
get '' => :edit
|
|
|
|
|