for user new interface, member role is working.
This commit is contained in:
1 parent
b301f6522a
commit
bd0d975014
15 files changed
+312
-90
No files matched your search
@@ -27,4 +27,11 @@ class Role
|
||||
self.first(:conditions => {:key => key})
|
||||
end
|
||||
|
||||
def statuses_for_select
|
||||
data = self.statuses.map do |t|
|
||||
[t.id.to_s,t.title_translations]
|
||||
end
|
||||
Hash[data]
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user