提交 66c8740b 编写于 作者: R Rafael Mendonça França

Merge pull request #8842 from nthj/patch-1

Fix typo in deprecation warning
......@@ -4,7 +4,7 @@ module ActionController
module RecordIdentifier
MESSAGE = 'method will no longer be included by default in controllers since Rails 4.1. ' +
'If you would like to use it in controllers, please include ' +
'ActionView::RecodIdentifier module.'
'ActionView::RecordIdentifier module.'
def dom_id(record, prefix = nil)
ActiveSupport::Deprecation.warn('dom_id ' + MESSAGE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册