|
|
|
@ -166,12 +166,6 @@ sub do_settings ( $c ) { |
|
|
|
}); |
|
|
|
}); |
|
|
|
$blog->create_related( 'builds', { job_id => $build_job_id } ); |
|
|
|
$blog->create_related( 'builds', { job_id => $build_job_id } ); |
|
|
|
|
|
|
|
|
|
|
|
#my $build_job_id = $c->minion->enqueue( 'deploy_blog', [ $blog->id ], { |
|
|
|
|
|
|
|
# notes => { '_bid_' . $blog->id => 1 }, |
|
|
|
|
|
|
|
# priority => $blog->build_priority, |
|
|
|
|
|
|
|
#}); |
|
|
|
|
|
|
|
$blog->create_related( 'builds', { job_id => $build_job_id } ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$c->flash( confirmation => "Welcome to the dashboard for your new blog!" ); |
|
|
|
$c->flash( confirmation => "Welcome to the dashboard for your new blog!" ); |
|
|
|
$c->redirect_to( $c->url_for( 'show_dashboard_blog', { id => $blog->id } ) ); |
|
|
|
$c->redirect_to( $c->url_for( 'show_dashboard_blog', { id => $blog->id } ) ); |
|
|
|
} |
|
|
|
} |
|
|
|
|