mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 14:31:47 +01:00
exclude the init filter from running for the toggle_check and toggle_star. Speeds up request as described by lrbalt in #546.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@577 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
4775184403
commit
d29fb230f0
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ class TodosController < ApplicationController
|
|||
|
||||
skip_before_filter :login_required, :only => [:index]
|
||||
prepend_before_filter :login_or_feed_token_required, :only => [:index]
|
||||
append_before_filter :init, :except => [ :destroy, :completed, :completed_archive, :check_deferred ]
|
||||
append_before_filter :init, :except => [ :destroy, :completed, :completed_archive, :check_deferred, :toggle_check, :toggle_star ]
|
||||
append_before_filter :get_todo_from_params, :only => [ :edit, :toggle_check, :toggle_star, :show, :update, :destroy ]
|
||||
|
||||
session :off, :only => :index, :if => Proc.new { |req| is_feed_request(req) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue