diff options
author | franck cuny <franck@lumberjaph.net> | 2011-02-13 16:20:59 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-02-13 16:20:59 +0100 |
commit | e81938b20ae19d472a6f835f8af01a428b8724de (patch) | |
tree | d6cea5e811f60fcd8f3c94ee1d9b4cf247404531 /lib/jitterbug/Task.pm | |
parent | Make jitterbug::Test use the current perl interp (diff) | |
parent | Merge branch 'feature/stack_builds' into devel (diff) | |
download | jitterbug-e81938b20ae19d472a6f835f8af01a428b8724de.tar.gz |
Merge branch 'devel'
* devel: add more tests inside the hook, we check if we can add more than one task for this project add configuration option to skip some branches; add tests for the Hook that's why we want datetime use DateTime update templates to show informations about running tasks column started_when: datetime when the build started prepare to update schema again display current build if any add sql schema for various version don't ignore .sql files script to migrate/upgrade dbix schema add version to our schema update templates and css we want a find, not a search here add pending status to the schema (TODO: need a script to migrate the schema) load tasks and display them on the dashboard
Diffstat (limited to 'lib/jitterbug/Task.pm')
-rw-r--r-- | lib/jitterbug/Task.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jitterbug/Task.pm b/lib/jitterbug/Task.pm index f14a9c6..998e9e4 100644 --- a/lib/jitterbug/Task.pm +++ b/lib/jitterbug/Task.pm @@ -7,7 +7,7 @@ use jitterbug::Plugin::Template; get '/:task_id' => sub { my $task_id = params->{task_id}; - my $task = schema->resultset('Task')->search($task_id); + my $task = schema->resultset('Task')->find($task_id); if (!$task) { render_error("task doesn't exists", 404); |