# File app/controllers/attendance_adm_controller.rb, line 26 def choose_session options = {:per_page => 10, :include => [:room, :conference], :page => params[:page]} if params[:show_all] @tslots = Timeslot.by_time_distance(options) @shown = :all else @tslots = Timeslot.current @shown = :current end end