Modal refactor

This commit is contained in:
2014-11-21 18:06:20 +01:00
parent a73ceb0df2
commit cc081d373c
36 changed files with 187 additions and 136 deletions
+2 -2
View File
@@ -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?