Class: ReHistoryController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/re_history_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



8
9
10
# File 'app/controllers/re_history_controller.rb', line 8

def index
  @re_history = RulesEngine::Process.runner.history(nil, :page => params[:page] || 1, :per_page => 5)
end

#showObject



12
13
14
# File 'app/controllers/re_history_controller.rb', line 12

def show
  @re_audit_history = RulesEngine::Process.auditor.history(params[:id])
end