web/app/helpers/results_helper.rb
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 13 Oct 2014 10:23:12 +0100
changeset 226 4e1806b2569a
parent 68 ea16cf625333
child 233 67d68cf6356c
permissions -rw-r--r--
Results tab refactored to allow filtering. Results tab now allows filtering by tags and by configurations. This become necessay as number of results grows.

module ResultsHelper
  def benchmark_configurations_options
    return BenchmarkConfiguration.all.map { |b| [b.name, b.id] }
  end

  def tags_options
    return Tag.all.map { |b| [b.name, b.id] }
  end
end