mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-06 16:01:47 +01:00
fix csrf which changed with rails 2.3.11
This commit is contained in:
parent
736224aadb
commit
0d28115d18
4 changed files with 3 additions and 3 deletions
|
|
@ -11,8 +11,6 @@ class TodosController < ApplicationController
|
|||
:completed_archive, :check_deferred, :toggle_check, :toggle_star,
|
||||
:edit, :update, :defer, :create, :calendar, :auto_complete_for_predecessor, :remove_predecessor, :add_predecessor]
|
||||
|
||||
protect_from_forgery :except => [:auto_complete_for_predecessor]
|
||||
|
||||
def index
|
||||
@projects = current_user.projects.find(:all, :include => [:default_context])
|
||||
@contexts = current_user.contexts.find(:all)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue