Gitamin\Http\Controllers\Projects\MergeRequestController::index PHP Method

index() public method

public index ( $owner, $project )
    public function index($owner, $project)
    {
        $repository = $project->getRepository();
        $commitishPath = $repository->getHead();
        list($branch, $file) = $this->extractReference($repository, $commitishPath, $project->slug);
        return View::make('projects/merge_requests')->withOwner($owner)->withProject($project)->withBranch($branch);
    }
MergeRequestController