lib/cantango/permits/role_group_permit.rb in cantango-0.8.9.3 vs lib/cantango/permits/role_group_permit.rb in cantango-0.8.9.4
- old
+ new
@@ -17,9 +17,10 @@
end
def permit_name
self.class.role_group_name self.class
end
+
alias_method :role_group, :permit_name
# creates the permit
def initialize ability
super