Merge pull request #1223 from rishabhs95/master

hakiri: fix security issue
This commit is contained in:
Stella Rouzi 2016-11-22 11:02:50 +02:00 committed by GitHub
commit 380389cb38

View file

@ -1,5 +1,5 @@
module Api
class BaseController < ActionController::Base
protect_from_forgery
protect_from_forgery with: :exception
end
end