diff --git a/app/controllers/signup_controller.rb b/app/controllers/signup_controller.rb index 400d163..563ec4b 100644 --- a/app/controllers/signup_controller.rb +++ b/app/controllers/signup_controller.rb @@ -10,6 +10,10 @@ class SignupController < ApplicationController @title = "Signup" end + def invite + @title = "Pass Along an Invitation" + end + def invited if @user flash[:error] = "You are already signed up." @@ -55,7 +59,6 @@ class SignupController < ApplicationController end private - def user_params params.require(:user).permit( :username, :email, :password, :password_confirmation, :about,