     path = "/api/v1/project/#{project_name}"
     path += "/tree/#{encodeURIComponent(branch)}" if branch?
 
-    # @selected
-    #   project_name: project_name,
-    #   branch: branch
-
     @builds.removeAll()
     @project_builds_have_been_loaded(false)
     $.getJSON path, (data) =>

    @query_results_query = ko.observable(null)
    @query_results = ko.observableArray([])

  searchArticles: (vm, event) ->
    $.ajax
      url: "/search-articles"

    @get '^/gh/:username/:project/tree/:branch',
      (cx) ->
        VM.selected
          username: cx.params.username
          project: cx.params.project
          project_name: "#{cx.params.username}/#{cx.params.project}"
          branch: cx.params.branch

        VM.loadProject cx, cx.params.username, cx.params.project, cx.params.branch

    @get '^/gh/:username/:project/:build_num',
      (cx) -> VM.loadBuild cx, cx.params.username, cx.params.project, cx.params.build_num
    @get('^/gh/:username/:project',
      (cx) ->
        VM.selected
          username: cx.params.username
          project: cx.params.project
          project_name: "#{cx.params.username}/#{cx.params.project}"

        VM.loadProject cx, cx.params.username, cx.params.project
