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

@ -7,7 +7,6 @@ class ContextsController < ApplicationController
before_filter :set_context_from_params, :only => [:update, :destroy]
skip_before_filter :login_required, :only => [:index]
prepend_before_filter :login_or_feed_token_required, :only => [:index]
session :off, :only => :index, :if => Proc.new { |req| ['rss','atom','txt'].include?(req.parameters[:format]) }
def index
# #true is passed here to force an immediate load so that size and empty?