Class: Tasks::Loans::OverdueController

Inherits:
ApplicationController
  • Object
show all
Includes:
TaskControllerConfiguration
Defined in:
app/controllers/tasks/loans/overdue_controller.rb

Instance Method Summary (collapse)

Methods included from TaskControllerConfiguration

#set_is_task_controller

Instance Method Details

- (Object) index

GET



5
6
7
# File 'app/controllers/tasks/loans/overdue_controller.rb', line 5

def index
  @loans = Loan.overdue.with_project_id(sessions_current_project_id).order('date_return_expected DESC, date_sent ASC')
end