Add tests for Crono::Web

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

No files matched your search

+1 -1
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