Self-love isn't entirely appropriate in this setting
This commit is contained in:
parent
cbbe932ee2
commit
83d5d3142d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue