Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixes an issue where send_on_create_confirmation_instructions callback is
not defined
  • Loading branch information
fivetwentysix committed Jan 23, 2016
1 parent ce1aecf commit 94b01a7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def create

begin
# override email confirmation, must be sent manually from ctrl
resource_class.set_callback("create", :after, :send_on_create_confirmation_instructions)
resource_class.skip_callback("create", :after, :send_on_create_confirmation_instructions)
if @resource.save
yield @resource if block_given?
Expand Down

0 comments on commit 94b01a7

Please sign in to comment.