Commit 6f0ee5c9 authored by Stan Hu's avatar Stan Hu

Fix failed spec

parent 9f7d379c
...@@ -55,7 +55,7 @@ class RegistrationsController < Devise::RegistrationsController ...@@ -55,7 +55,7 @@ class RegistrationsController < Devise::RegistrationsController
end end
def resource def resource
@resource ||= User.new @resource ||= User.new(sign_up_params)
end end
def devise_mapping def devise_mapping
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment