Sha256: ff16d4e463e8a7bb0366ab3a1b67bba3801654ab7a7a08bcf249c2b4da83f59a
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
module ControllerMixins module WorkUnits def index if params[:invoiced] != nil @work_units = WorkUnit.find_all_by_invoiced(params[:invoiced]) @search = "Invoiced: " + params[:invoiced] else @work_units = WorkUnit.find_all_by_paid(params[:paid]) @search = "Paid: " + params[:paid] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems