Commit 21d6b315 authored by Ash McKenzie's avatar Ash McKenzie

Actor::Base audit_usernames? now an alias

parent 4a03bd22
...@@ -43,6 +43,8 @@ module Actor ...@@ -43,6 +43,8 @@ module Actor
attr_reader :audit_usernames attr_reader :audit_usernames
alias audit_usernames? audit_usernames
def klass_name def klass_name
self.class.to_s.split('::')[-1] self.class.to_s.split('::')[-1]
end end
...@@ -50,9 +52,5 @@ module Actor ...@@ -50,9 +52,5 @@ module Actor
def label def label
klass_name.downcase klass_name.downcase
end end
def audit_usernames?
audit_usernames
end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment