19
內讀取在軌道上的配置值紅寶石如果我有這樣的如何從應用控制器
# config/environments/integration.rb
config.action_controller.session = {
:domain => ".example.com"
}
配置文件如何二。從我的應用程序控制器中獲得的價值,如:
# app/controller/application_controller
class ApplicationController < Mcc::CoreSupport::FrontendController
def some_method
value = xxx
end
end