Add tests for Crono::Web

This commit is contained in:
Dzmitry Plashchynski
2015-03-09 23:43:17 +02:00
parent eedff96d39
commit 54a1b53af9
5 changed files with 38 additions and 2 deletions

View File

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