     $scope.uploadPathForGroup = (groupId) ->
       "#{config.apiPrefix}/allocations/upload?group_id=#{groupId}"
 
-    $scope.onCsvUploadSuccess = (groupId) ->
-      Records.groups.findOrFetchById(groupId)
-
     $scope.onCsvUploadCompletion = ->
       Dialog.alert(title: 'upload complete!')
 

    $scope.viewGroup = (groupId) ->
      $location.path("/groups/#{groupId}")

    return

    $scope.newGroup = Records.groups.build()

    $scope.openCreateGroupDialog = ->
      Dialog.custom
        scope: $scope
        template: require('./create-group-dialog-content.tmpl.html')
