Refactor Report model: use composed_of :content
authorJan Blunck <jblunck@suse.de>
Tue, 24 Feb 2009 21:20:01 +0000 (21:20 +0000)
committerJan Blunck <jblunck@suse.de>
Tue, 24 Feb 2009 21:20:01 +0000 (21:20 +0000)
commit303d48c5ab84a7093268fcf22e3eaf10cc23b4ba
treea2d7ded8c572029afab25fcb059acb2f5d27c4a4
parent2035acbe65a506aa3e227539e950f24ab7243fa3
Refactor Report model: use composed_of :content

Use composed_of :content instead of the parsed hash. This makes it more
convenient to work with the report for the rest of the application.

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