Sha256: bf6d3e0c5768aef2d80d1073bffe955eac696579671833cae46d2cd83c820c10
Contents?: true
Size: 275 Bytes
Versions: 1
Compression:
Stored size: 275 Bytes
Contents
module Whenever class LogsController < Web.config.parent_controller def clear log.clear redirect_to jobs_path, notice: t('.success', kind: log.kind) end protected def log @log ||= Web.job_list.logs.fetch(params[:kind]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whenever-web-0.0.5 | app/controllers/whenever/logs_controller.rb |