diff --git a/config/environments/development.rb b/config/environments/development.rb
index 0f21118e206f3d535d98a67dd40037fa1f2026bb..b1fde8c7d6f1c42c56a8f7a1fb4ba0ccf70b1119 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -73,10 +73,9 @@ Rails.application.configure do
   # routes, locales, etc. This feature depends on the listen gem.
   config.file_watcher = ActiveSupport::EventedFileUpdateChecker
 
-  # Uncomment if you wish to allow Action Cable access from any origin.
-  # config.action_cable.disable_request_forgery_protection = true
+  # Allow Action Cable access from any origin.
   config.action_cable.url = "http://127.0.0.1:3000/cable"
   config.action_cable.disable_request_forgery_protection = true
+  # Allow XHR/Ajax requests from different origin
   config.action_controller.forgery_protection_origin_check = false
-  config.action_controller.default_protect_from_forgery = false
 end