member list edit

This commit is contained in:
unknown committed 2013-02-20 11:12:08 +08:00
1 parent 8bf7d0f6f3
commit a7bc19768e
98 files changed
+819 -699

No files matched your search

+6
View File
@@ -40,9 +40,11 @@ module OrbitApp
@base_path = args[0][:base_path]
@name = name
@partial_path = ''
@admin_partial_path = ''
unless partial.nil?
@partial_path = partial[:path]
@admin_partial_path = partial[:admin_path]
end
block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given?
@@ -51,6 +53,10 @@ module OrbitApp
def profile_partial_path
return @partial_path
end
def admin_partial_path
return @admin_partial_path
end
end
end