From: Tomas Doran Date: Sun, 8 Nov 2009 23:49:59 +0000 (+0000) Subject: Change to the new model X-Git-Tag: 0.000000_01~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2db6f4ebd4c34bc3f2bf1ba25879895ad331e955;p=catagits%2FGitalist.git Change to the new model --- diff --git a/lib/Gitalist/Controller/Root.pm b/lib/Gitalist/Controller/Root.pm index 8528f2d..49d36fa 100644 --- a/lib/Gitalist/Controller/Root.pm +++ b/lib/Gitalist/Controller/Root.pm @@ -474,7 +474,7 @@ sub header { } $c->stash->{version} = $c->config->{version}; - $c->stash->{git_version} = $c->model()->run_cmd('--version'); + $c->stash->{git_version} = $c->model('GitRepos')->run_cmd('--version'); $c->stash->{title} = $title; #$c->stash->{baseurl} = $ENV{PATH_INFO} && uri_escape($base_url);