方法
- N
常量
| DEFAULT_MESSAGE | = | "在此操作中调用了多次渲染和/或重定向。请注意,您每次操作最多只能调用一次渲染或重定向。另请注意,重定向或渲染都不会终止操作的执行,因此如果您想在重定向后退出操作,则需要执行类似“redirect_to(...); return”的操作。" |
类公共方法
new(message = nil) 链接
来源: 显示 | 在 GitHub 上
# File actionpack/lib/abstract_controller/rendering.rb, line 13 def initialize(message = nil) super(message || DEFAULT_MESSAGE) end