Integration of Ray' modifications

This commit is contained in:
chris2tof committed 2011-11-17 20:02:58 +08:00
1 parent c4810274ec
commit 861237d65b
39 files changed
+804 -175

No files matched your search

@@ -1,4 +1,4 @@
module Panel::UserHelper
module Admin::UserHelper
def show_user_attribute(object, key, locale = '')
attribute = object.attribute_values.detect {|av| av.key.to_s.eql?(key.to_s) || av[locale.to_s].eql?(locale.to_s) } rescue nil