Project

General

Profile

Download (324 Bytes) Statistics
| Branch: | Tag: | Revision:
class TasksController < ApplicationController
skip_before_filter :session_expiry, :update_activity_time, :set_taxonomy, :only => [:show]
before_filter :ajax_request

def show
id = params[:id]
queue = Rails.cache.fetch(id)
@tasks = queue.nil? ? [] : JSON(queue)
render :partial => 'list'
end
end
(40-40/45)