class ReportsController < ApplicationController

  def show
    @report = Invoice.get_time
  end

  def expire_one
    @report = Invoice.get_time
    expire_fragment(:action => "show", :id => "report_one")
    redirect_to :action => "show"
  end 

  def expire_all
    @report = Invoice.get_time
    expire_fragment(%r{show/.*})
    redirect_to :action => "show"
  end 
end