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

Fix typos

上级 d16e2247
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
Rails.application.message_verifier.verify(message) Rails.application.message_verifier.verify(message)
# => 'my sensible data' # => 'my sensible data'
It is recommended not not use the same verifier for different things, so you can get different It is recommended not to use the same verifier for different things, so you can get different
verifiers passing the name argument. verifiers passing the name argument.
message = Rails.application.message_verifier('cookies').generate('my sensible cookie data') message = Rails.application.message_verifier('cookies').generate('my sensible cookie data')
......
...@@ -160,9 +160,9 @@ def key_generator ...@@ -160,9 +160,9 @@ def key_generator
end end
end end
# Return a message verifier object. # Returns a message verifier object.
# #
# This verify can be used to generate and verify signed messages in the application. # This verifier can be used to generate and verify signed messages in the application.
# #
# It is recommended not to use the same verifier for different things, so you can get different # It is recommended not to use the same verifier for different things, so you can get different
# verifiers passing the +verifier_name+ argument. # verifiers passing the +verifier_name+ argument.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册