Skip to content

Commit

Permalink
Make sure only one report is stored.
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Aug 12, 2009
1 parent 116308c commit a850688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/system_reports_controller.rb
Expand Up @@ -24,6 +24,7 @@ def self.add_report(name, report_module, options={})
}

self.reports << report
self.reports.uniq!
self
end

Expand Down

0 comments on commit a850688

Please sign in to comment.