Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 24
- Log:
Initial import of Collaboa 0.5.6 from downloaded Tarball. Collaboa is
a Ruby On Rails based bug tracker and SVN repository browsing tool.
- Author:
- adh
- Date:
- Mon Jul 24 21:54:39 +0100 2006
- Size:
- 509 Bytes
1 | class SearchController < ApplicationController |
2 | before_filter :login_required |
3 | |
4 | def index |
5 | @found_items = [] |
6 | if params[:q] |
7 | @found_items << Ticket.search(params[:q]) |
8 | @found_items << TicketChange.search(params[:q]) |
9 | logger.debug params[:changesets] |
10 | if current_user.view_changesets? && params[:changesets] |
11 | @found_items << Changeset.search(params[:q]) |
12 | end |
13 | @found_items |
14 | end |
15 | end |
16 | |
17 | private |
18 | def authorize?(user) |
19 | user.view_tickets? |
20 | end |
21 | |
22 | end |