Gitamin\Http\Controllers\Projects\CommitController::show PHP Method

show() public method

public show ( $owner, $project, $commit )
    public function show($owner, $project, $commit)
    {
        $repository = $project->getRepository();
        $commit = $repository->getCommit($commit);
        $branch = $repository->getHead();
        return View::make('projects/commit')->withOwner($owner)->withProject($project)->withCommit($commit)->withBranch($branch);
    }
CommitController