Sha256: ef913610f49223da12ab62edebdb306f4bd571be816d9868e12be3d15fcf6601
Contents?: true
Size: 282 Bytes
Versions: 2
Compression:
Stored size: 282 Bytes
Contents
class RootController < ApplicationController helper MeterCat::MetersHelper helper StatusCat::StatusHelper def index @range = (Date.today - 7)..Date.today @meters = MeterCat::Meter.to_h(@range) end def mail MeterCat.mail render plain: 'Mailed' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meter_cat-5.0.1 | spec/dummy/app/controllers/root_controller.rb |
meter_cat-5.0.0 | spec/dummy/app/controllers/root_controller.rb |