Removed CSRF checks (not needed because of JSON store).

This commit is contained in:
Martin Edenhofer 2012-04-16 15:20:23 +02:00
parent 5de91cae96
commit 6d79f6caa0
3 changed files with 0 additions and 3 deletions

View file

@ -1,6 +1,5 @@
class ApplicationController < ActionController::Base
include UserInfo
protect_from_forgery
# http_basic_authenticate_with :name => "test", :password => "ttt"
helper_method :current_user, :authentication_check, :config_frontend, :user_data_full

View file

@ -1,5 +1,4 @@
class TicketOverviewsController < ApplicationController
skip_before_filter :verify_authenticity_token
before_filter :authentication_check
# GET /tickets

View file

@ -1,5 +1,4 @@
class TicketsController < ApplicationController
skip_before_filter :verify_authenticity_token
before_filter :authentication_check
# GET /tickets