app/models/user.rb in trusty-cms-4.2.1 vs app/models/user.rb in trusty-cms-4.2.2

- old
+ new

@@ -17,10 +17,10 @@ # Associations belongs_to :created_by, class_name: 'User' belongs_to :updated_by, class_name: 'User' - def has_role?(role) + def role?(role) case role when :admin admin? when :designer designer?