No need for these session calls now

Sessions are lazy loaded, so if you don't use them they're effectively off.
This commit is contained in:
Eric Allen 2009-12-07 18:30:13 -05:00
parent 6181d42072
commit e41ed7424f
3 changed files with 0 additions and 4 deletions

View file

@ -10,8 +10,6 @@ class TodosController < ApplicationController
append_before_filter :get_todo_from_params, :only => [ :edit, :toggle_check, :toggle_star, :show, :update, :destroy, :remove_predecessor]
protect_from_forgery :except => [:auto_complete_for_tag, :auto_complete_for_predecessor]
session :off, :only => :index, :if => Proc.new { |req| is_feed_request(req) }
def index
current_user.deferred_todos.find_and_activate_ready
@projects = current_user.projects.find(:all, :include => [:default_context])