Sha256: 65b03056934e5824c0fa33539630453497124b11ab4f4b03008f78dd946eac6f

Contents?: true

Size: 201 Bytes

Versions: 4

Compression:

Stored size: 201 Bytes

Contents

module Prosperity
  module ApplicationHelper
    def app_name
      "Prosperity" 
    end

    def link_to_metric(metric)
      link_to metric.new.title, metric_path(id: metric.name)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prosperity-0.0.5 app/helpers/prosperity/application_helper.rb
prosperity-0.0.4 app/helpers/prosperity/application_helper.rb
prosperity-0.0.3 app/helpers/prosperity/application_helper.rb
prosperity-0.0.2 app/helpers/prosperity/application_helper.rb