Sha256: 19ee34322d5c9d0d78ce0f6fcd2d96ce9bf67639971d151d4ee93fabbe3278e6

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 Bytes

Contents

class ReJobsController < ApplicationController    

  before_filter :only => [:show] do |controller|
    controller.load_model :re_job
  end    
  
  # before_filter :login_required
  before_filter :reader_access_required

  def index
    @re_jobs = ReJob.find_jobs(:page => params[:page], :per_page => 2)
  end

  def show
    @re_job_audits = ReJobAudit.by_re_job_id(params[:id]).order_date('ASC').find(:all, :include => [:re_pipeline] )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.0.1 rails_generators/templates/app/controllers/re_jobs_controller.rb