Self-love isn't entirely appropriate in this setting

This commit is contained in:
Steve Richert 2016-05-26 09:25:44 -04:00
parent cbbe932ee2
commit 83d5d3142d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Devise::RegistrationsController < DeviseController
def new
build_resource({})
yield resource if block_given?
respond_with self.resource
respond_with resource
end
# POST /resource