Class: TimesheetsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/timesheets_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



2
3
4
# File 'app/controllers/timesheets_controller.rb', line 2

def index
  @employee = Employee.find(params[:employee_id])
end