lib/rest-ftp-daemon/helpers.rb in rest-ftp-daemon-0.240.2 vs lib/rest-ftp-daemon/helpers.rb in rest-ftp-daemon-0.241

- old
+ new

@@ -123,9 +123,13 @@ out << "#{hours}h" if hours>0 out << "#{minutes}mn" if (minutes>0) || (hours>0) out << "#{seconds}s" out.join(' ') - end + end + + def self.dashboard_job_link job + "/jobs/#{job.id}" if job.respond_to? :id + end end end