Delegate respond_to? in ActionView::Helpers::ControllerHelper
Since methods defined in the controller helper are mostly delegated to the controller, delegate respond_to? as well, so that for example `respond_to?(:params)` behaves as expected.
Showing
想要评论请 注册 或 登录