lib/janus/controllers/confirmations_controller.rb in janus-0.9.0 vs lib/janus/controllers/confirmations_controller.rb in janus-0.9.1
- old
+ new
@@ -36,10 +36,10 @@
self.resource = resource_class.new
respond_with(resource)
end
def create
- self.resource = resource_class.find_for_database_authentication(params[resource_name])
+ self.resource = resource_class.find_for_database_authentication(resource_authentication_params)
if resource
deliver_confirmation_instructions(resource)
respond_to do |format|