Skip to content

Commit 6e3b55f

Browse files
committed
Fix typo
1 parent 25df24f commit 6e3b55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/zh-CN/working_with_javascript_in_rails.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ $(document).ready ->
169169
<a href="/articles/1" data-remote="true">an article</a>
170170
```
171171

172-
绑定的 Ajax 事件和 `form_with` 方法一样。下面举个例子。假如有一个文章列表,我们想只点击一个链接就删除所有文章。视图代码如下:
172+
绑定的 Ajax 事件和 `form_with` 方法一样。下面举个例子。假如有一个文章列表,我们想只点击一个链接就删除所选文章。视图代码如下:
173173

174174
```erb
175175
<%= link_to "Delete article", @article, remote: true, method: :delete %>

0 commit comments

Comments
 (0)