Class: Tasks::Leads::PrintController

Inherits:
ApplicationController
  • Object
show all
Includes:
LeadTaskRedirection, TaskControllerConfiguration
Defined in:
app/controllers/tasks/leads/print_controller.rb

Instance Method Summary collapse

Methods included from LeadTaskRedirection

#lead_for_redirect, #redirect_if_not_virtual, #redirect_if_virtual

Methods included from TaskControllerConfiguration

#set_is_task_controller

Instance Method Details

#indexObject



8
9
# File 'app/controllers/tasks/leads/print_controller.rb', line 8

def index
end

#set_leadObject (private)



16
17
18
# File 'app/controllers/tasks/leads/print_controller.rb', line 16

def set_lead
  @lead = Lead.where(project_id: sessions_current_project_id).find(params[:lead_id])
end

#tableObject



11
12
# File 'app/controllers/tasks/leads/print_controller.rb', line 11

def table
end