mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-11 11:48:51 +01:00
Improves performance for adding new actions. Removes costly query that was never used.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@623 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
0703253a5e
commit
474404619a
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, :toggle_check, :toggle_star, :edit, :update ]
|
||||
append_before_filter :init, :except => [ :destroy, :completed, :completed_archive, :check_deferred, :toggle_check, :toggle_star, :edit, :update, :create ]
|
||||
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