Able to see job log

This commit is contained in:
Dzmitry Plashchynski
2015-03-08 00:24:33 +02:00
parent bb03a562cc
commit 4fb45724d6
3 changed files with 31 additions and 0 deletions

View File

@@ -14,5 +14,10 @@ module Crono
@jobs = Crono::CronoJob.all
haml :dashboard, format: :html5
end
get '/jobs/:id' do
@job = Crono::CronoJob.find(params[:id])
haml :job
end
end
end