Modal refactor
This commit is contained in:
@@ -135,7 +135,7 @@ class Supplier
|
||||
@reconfirmation_required = false
|
||||
|
||||
@bypass_postpone = true and generate_confirmation_token! if self.confirmation_token.blank?
|
||||
self.devise_mailer.confirmation_instructions(self, confirmation_token).deliver
|
||||
self.devise_mailer.confirmation_instructions(self, confirmation_token).deliver_now
|
||||
end
|
||||
|
||||
def find_order(id)
|
||||
@@ -145,7 +145,7 @@ class Supplier
|
||||
end
|
||||
|
||||
def send_creation_notifications
|
||||
SupplierMailer.creation(self).deliver
|
||||
SupplierMailer.creation(self).deliver_now
|
||||
end
|
||||
|
||||
def week_starts_on_monday?
|
||||
|
||||
Reference in New Issue
Block a user