app/controllers/confirmations_controller.rb in devise-1.0.4 vs app/controllers/confirmations_controller.rb in devise-1.0.5
- old
+ new
@@ -19,10 +19,10 @@
end
end
# GET /resource/confirmation?confirmation_token=abcdef
def show
- self.resource = resource_class.confirm!(:confirmation_token => params[:confirmation_token])
+ self.resource = resource_class.confirm_by_token(params[:confirmation_token])
if resource.errors.empty?
set_flash_message :notice, :confirmed
sign_in_and_redirect(resource_name, resource)
else