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 class ApplicationController < ActionController::Base
include UserInfo include UserInfo
protect_from_forgery
# http_basic_authenticate_with :name => "test", :password => "ttt" # http_basic_authenticate_with :name => "test", :password => "ttt"
helper_method :current_user, :authentication_check, :config_frontend, :user_data_full helper_method :current_user, :authentication_check, :config_frontend, :user_data_full

View file

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

View file

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