Port signup to new layout
This commit is contained in:
@@ -3,8 +3,7 @@ class SignupController < ApplicationController
|
||||
before_action :require_invitation
|
||||
before_action :set_invitation
|
||||
before_action :set_new_user, only: ["steps", "validate"]
|
||||
|
||||
layout "signup"
|
||||
before_action :set_context
|
||||
|
||||
def index
|
||||
@invited_by_name = @invitation.user.address
|
||||
@@ -105,4 +104,8 @@ class SignupController < ApplicationController
|
||||
invitation: @invitation
|
||||
)
|
||||
end
|
||||
|
||||
def set_context
|
||||
@context = :signup
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user