Skip to content

Commit

Permalink
Added underscore call to BaseCourier.courier_name
Browse files Browse the repository at this point in the history
  • Loading branch information
daveknapik committed Sep 24, 2012
1 parent 0de6ed7 commit cc6f0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acts_as_notifiable/couriers/base_courier.rb
Expand Up @@ -72,7 +72,7 @@ def notification_type
end

def courier_name
self.class.to_s.demodulize.downcase.gsub('courier', '').to_sym
self.class.to_s.demodulize.underscore.downcase.gsub('_courier', '').to_sym
end
end

Expand Down

0 comments on commit cc6f0eb

Please sign in to comment.