lib/ahoy_matey.rb in ahoy_matey-0.2.1 vs lib/ahoy_matey.rb in ahoy_matey-0.2.2
- old
+ new
@@ -44,9 +44,11 @@
mattr_accessor :user_method
self.user_method = proc do |controller|
(controller.respond_to?(:current_user) && controller.current_user) || (controller.respond_to?(:current_resource_owner, true) && controller.send(:current_resource_owner)) || nil
end
+ mattr_accessor :exclude_method
+
mattr_accessor :subscribers
self.subscribers = []
mattr_accessor :track_bots
self.track_bots = false