Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # action in the controller
- def search_title
- suchbegriff = '%' + request.raw_post + '%'
- @weblog_pages, @weblogs = paginate :weblogs,
- :per_page => 10,
- :order => 'id desc',
- :conditions => ["title like ?", suchbegriff]
- render :partial => "list", :layout => false
- end
Add Comment
Please, Sign In to add comment