lib/devise_approvable/model.rb in devise_approvable-0.13.0 vs lib/devise_approvable/model.rb in devise_approvable-0.14.0
- old
+ new
@@ -48,10 +48,10 @@
def send_approval_instructions
unless @raw_approval_token
generate_approval_token!
end
- opts = { to: "dev-approvals@curbcall.com" }
+ opts = { to: self.class.admin_email }
send_devise_notification(:approval_instructions, @raw_approval_token, opts)
end
protected
\ No newline at end of file