mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-02 06:01:47 +01:00
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:
parent
6181d42072
commit
e41ed7424f
3 changed files with 0 additions and 4 deletions
|
|
@ -6,7 +6,6 @@ class ProjectsController < ApplicationController
|
|||
before_filter :default_context_filter, :only => [:create, :update]
|
||||
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
|
||||
@source_view = params['_source_view'] || 'project_list'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue