hakiri: fix security issue

This commit is contained in:
Rishabh Saxena 2016-11-20 14:33:00 +05:30
parent 710b4d26a4
commit e07bdee7c1
No known key found for this signature in database
GPG key ID: FA3BDC38A9CB6807

View file

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