Method: Myreplicator::HomeController#transport_errors

Defined in:
app/controllers/myreplicator/home_controller.rb

#transport_errorsObject



26
27
28
29
30
31
# File 'app/controllers/myreplicator/home_controller.rb', line 26

def transport_errors
  @tab = 'home'
  @option = 'errors'
  @logs = Log.where("state = 'error' AND job_type = 'transporter'").order("id DESC").limit(200)
  @count = Log.where("state = 'error' AND job_type = 'transporter'").count
end