Class: HrLite::TeamController

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

Overview

The everyone-visible team board: who's in, who's out, who's on leave, hours worked — for any date. Transparency by design; shows punch times and leave types only, never reasons or personal data.

Instance Method Summary collapse

Instance Method Details

#showObject



6
7
8
9
# File 'app/controllers/hr_lite/team_controller.rb', line 6

def show
  @date = parse_date_param(params[:date])
  @board = TeamDay.new(date: @date)
end