To edit pages or tickets please login with username/password: aaf/aaf

root/trunk/demo/app/controllers/searches_controller.rb

Revision 228, 170 bytes (checked in by jk, 1 year ago)

rest done right

Line 
1 class SearchesController < ApplicationController
2
3   def search
4     @search = Search.new params[:q], params[:page]
5     @results = @search.run if @search.valid?
6   end
7
8 end
Note: See TracBrowser for help on using the browser.

To edit pages or tickets please login with username/password: aaf/aaf