Sha256: 44e8ec59c70dbf0418f8ba3caa13ed03928fbcf8a976a62196231d172a6f52c2

Contents?: true

Size: 195 Bytes

Versions: 3

Compression:

Stored size: 195 Bytes

Contents

module Crono
  class JobsController < ApplicationController
    def index
      @jobs = Crono::CronoJob.all
    end

    def show
      @job = Crono::CronoJob.find(params[:id])
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crono-2.1.0 app/controllers/crono/jobs_controller.rb
crono-2.0.1 app/controllers/crono/jobs_controller.rb
crono-2.0.0 app/controllers/crono/jobs_controller.rb