Class: HrLite::EmployeeProfilesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/hr_lite/employee_profiles_controller.rb

Overview

Read-only masked view of one's own HR profile; edits go through leadership.

Instance Method Summary collapse

Instance Method Details

#showObject



5
6
7
# File 'app/controllers/hr_lite/employee_profiles_controller.rb', line 5

def show
  @profile = EmployeeProfile.find_by(user_id: hr_current_user.id)
end