lib/role_on.rb in darkhelmet-role_on-0.1.1 vs lib/role_on.rb in darkhelmet-role_on-0.1.2

- old
+ new

@@ -27,10 +27,10 @@ end end def self.included(klass) if User == klass - klass.send(:extend, RoleOnUserMethods) + klass.send(:include, RoleOnUserMethods) klass.send(:has_and_belongs_to_many, :roles, :join_table => 'user_roles') elsif ApplicationController == klass klass.send(:extend, RoleOnControllerMethods) end end