app/controllers/unidom/inventory/application_controller.rb in unidom-inventory-2.0 vs app/controllers/unidom/inventory/application_controller.rb in unidom-inventory-2.0.1
- old
+ new
@@ -1,6 +1,12 @@
##
# Application controller 是模块内所有控制器的基类。
-class Unidom::Inventory::ApplicationController < ActionController::Base
- protect_from_forgery with: :exception
+module Unidom
+ module Inventory
+
+ class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+ end
+
+ end
end