lib/notifiable/notification.rb in notifiable-rails-0.30.3 vs lib/notifiable/notification.rb in notifiable-rails-0.30.4

- old
+ new

@@ -21,10 +21,10 @@ def add_device_token(d) provider = d.provider.to_sym unless notifiers[provider] - clazz = Notifiable.notifier_classes[provider] + clazz = Notifiable.notifier_class(self, d) raise "Notifier #{provider} not configured" unless clazz notifier = clazz.new(Rails.env, self) self.app.configure(provider, notifier) @notifiers[provider] = notifier end \ No newline at end of file