app/controllers/confirmations_controller.rb in devise-0.2.0 vs app/controllers/confirmations_controller.rb in devise-0.2.1

- old
+ new

@@ -1,9 +1,10 @@ class ConfirmationsController < ApplicationController - before_filter :is_devise_resource? + include Devise::Controllers::Helpers # GET /resource/confirmation/new def new + build_resource end # POST /resource/confirmation def create self.resource = resource_class.send_confirmation_instructions(params[resource_name])