Refactor Report.search()
authorJan Blunck <jblunck@suse.de>
Fri, 20 Feb 2009 15:12:12 +0000 (15:12 +0000)
committerJan Blunck <jblunck@suse.de>
Fri, 20 Feb 2009 15:12:12 +0000 (15:12 +0000)
commitb466bd8e4bdbcfdd99d846be09ff68e91286867e
treefb959a95ba5a69f69b24334274621dde4cbbde66
parentee8af22e366f9a1f6a659b5ec7985182ad72293e
Refactor Report.search()

The refactored search() method is much cleaner. DRY.

Signed-off-by: Jan Blunck <jblunck@suse.de>
git-svn-id: http://svn.suse.de/svn/apport-opensuse-crashdb/trunk@33 e17c61c6-bb11-11dd-b423-6fa431a5bf9f
app/controllers/report_controller.rb
app/models/report.rb
app/views/report/search.html.erb