more forum stuff

This commit is contained in:
jomo
2013-10-16 00:51:50 +02:00
parent 7c578874c9
commit b6115970dd
25 changed files with 208 additions and 55 deletions

View File

@@ -35,4 +35,10 @@ class Role < ActiveRecord::Base
end
end
def self.all_from(role)
Role.all.select do |r|
r >= role
end
end
end