member list edit
This commit is contained in:
1 parent
8bf7d0f6f3
commit
a7bc19768e
98 files changed
+819
-699
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user