app/controllers/wechat/handler/application_controller.rb in wechat-handler-0.1.1 vs app/controllers/wechat/handler/application_controller.rb in wechat-handler-0.1.2
- old
+ new
@@ -2 +1,5 @@
+##
+# Application controller 是模块内所有控制器的基类。
+
class Wechat::Handler::ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
end