Add ability to Search issues

This commit is contained in:
Adam Leonard 2011-10-22 00:06:38 -04:00
parent 86021a7dc3
commit 5b284f6adf
7 changed files with 61 additions and 11 deletions

View file

@ -4,8 +4,9 @@
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: sqlite3
database: db/development.sqlite3
adapter: mysql2
database: gitlab_development
username: root
pool: 5
timeout: 5000
@ -13,13 +14,11 @@ development:
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
adapter: mysql2
database: gitlab_development
username: root
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
adatper: mysql2
database: gitlab_test
username: root

View file

@ -47,6 +47,9 @@ Gitlab::Application.routes.draw do
collection do
post :sort
end
collection do
get :search
end
end
resources :notes, :only => [:create, :destroy]
end