Remove i18n_variable for views
This commit is contained in:
1 parent
49dd3a1770
commit
53cae0a9ee
32 files changed
+64
-63
No files matched your search
@@ -35,7 +35,7 @@ class User
|
||||
# if(self.cache_dept.nil?)
|
||||
# self.build_cache_dept key: "dept_cache_user_#{self.id}"
|
||||
# end
|
||||
dept_hash[locale] = sub_roles.collect{|sr| sr.i18n_variable[locale]}.join(',')
|
||||
dept_hash[locale] = sub_roles.collect{|sr| sr.title}.join(',')
|
||||
# self.cache_dept[locale] = sub_roles.collect{|sr| sr.i18n_variable[locale]}.join(',')
|
||||
end
|
||||
self.cache_dept = dept_hash
|
||||
|
||||
Reference in new issue
Block a user