Sha256: e5938420a8b609271c083c0d346e644bacb1f28f7a4217ac7f37989101a629f5
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
module Ixtlan module Controllers module AuditsController def self.included(base) base.send(:include, Ixtlan::Controllers::SearchQuery) base.cache_headers :protected, false #no_store == false end public # GET /audits # GET /audits.xml def index @audits = Audit.all(query(:login, params[:query])).reverse + Audit.all(query(:message, params[:query])).reverse respond_to do |format| format.html format.xml { render :xml => @audits } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ixtlan-0.4.0.pre5 | lib/ixtlan/controllers/audits_controller.rb |