Project

General

Profile

Patch #5870 ยป fetch_changeset.patch

Joachim Fritschi, 2010-07-12 13:55

View differences:

app/controllers/sys_controller.rb (Arbeitskopie)
42 42
    projects = []
43 43
    if params[:id]
44 44
      projects << Project.active.has_module(:repository).find(params[:id])
45
    elsif params[:identifier]
46
      projects << Project.active.has_module(:repository).find_by_identifier(params[:identifier])
45 47
    else
46 48
      projects = Project.active.has_module(:repository).find(:all, :include => :repository)
47 49
    end
    (1-1/1)