Patch #5870 ยป fetch_changeset.patch
| 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 |