member list edit

This commit is contained in:
unknown authored and chris committed 2013-02-21 14:13:46 +08:00
1 parent 79f0fc1a3b
commit d46abd7caf
96 files changed
+844 -814

No files matched your search

+6
View File
@@ -47,9 +47,11 @@ module OrbitApp
@base_path = args[0][:base_path]
@name = partial[0][:i18n].nil? ? name : lambda{ I18n.t(partial[0][:i18n]) }
@partial_path = ''
@admin_partial_path = ''
unless partial.nil?
@partial_path = partial[0][:path]
@admin_partial_path = partial[0][:admin_path]
end
block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given?
@@ -58,6 +60,10 @@ module OrbitApp
def profile_partial_path
return @partial_path
end
def admin_partial_path
return @admin_partial_path
end
end
end