Module: ODDB::State::Admin::User

Includes:
SBSM::ViralState
Included in:
Admin, CompanyUser, PowerLinkUser, PowerUser, Root, User::Contributor
Defined in:
src/state/admin/user.rb

Constant Summary

RESOLVE_STATES =
{}

Instance Method Summary (collapse)

Instance Method Details

- (Object) resolve_state(pointer, type = :standard)



13
14
15
16
17
18
19
20
21
# File 'src/state/admin/user.rb', line 13

def resolve_state(pointer, type=:standard)
  if((type == :standard))
    @viral_modules.collect { |mod|
      mod::RESOLVE_STATES[pointer.skeleton]
    }.compact.first || super
  else
    super
  end
end

- (Object) user_navigation



22
23
24
25
26
# File 'src/state/admin/user.rb', line 22

def user_navigation
  [
    State::Admin::Logout,
  ]
end