lib/generators/authkit/templates/app/controllers/signup_controller.rb in authkit-0.5.0 vs lib/generators/authkit/templates/app/controllers/signup_controller.rb in authkit-0.7.0

- old
+ new

@@ -1,9 +1,8 @@ class SignupController < ApplicationController <% if oauth? %>include AuthsHelper <% end %> - respond_to :html, :json # Create a new Signup form model (found in app/forms/signup.rb) def new @signup = Signup.new end @@ -28,9 +27,13 @@ end end end protected + + def signup + @signup + end def signup_params params.require(:signup).permit( :email, <% if username? %>:username,