阅读背景:

为什么我的控制器的实例变量在视图中不起作用(Rails)

来源:互联网 

I would like to add a couple of instance variables to my controller, since the variables in question are required from within more than one action's view. However, the below example does not work as I would expect.I would like to add a couple of instance variab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: