lib/tiddle.rb in tiddle-0.1.0 vs lib/tiddle.rb in tiddle-0.2.0
- old
+ new
@@ -16,9 +16,9 @@
def self.purge_old_tokens(resource)
TokenIssuer.build.purge_old_tokens(resource)
end
end
-Devise::add_module :token_authenticatable,
- model: 'tiddle/model',
- strategy: true,
- no_input: true
+Devise.add_module :token_authenticatable,
+ model: 'tiddle/model',
+ strategy: true,
+ no_input: true