mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #35216 from CHTJonas/patch-1"
This reverts commitb46601b56d
, reversing changes made to4e6737f18a
.
This commit is contained in:
parent
93c2182836
commit
fb60def5a4
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ respond to your Ajax request. You then have a corresponding
|
|||
code that will be sent and executed on the client side.
|
||||
|
||||
```erb
|
||||
$("#users").appendTo("<%= raw escape_javascript(render @user) %>");
|
||||
$("<%= escape_javascript(render @user) %>").appendTo("#users");
|
||||
```
|
||||
|
||||
Turbolinks
|
||||
|
|
Loading…
Reference in a new issue