Use double quotes inside ERB
We were using single quotes inside ERB code when that code was inside HTML double quotes.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
App.Followable.update("<%= dom_id(@follow.followable) %>",
|
||||
"<%= j render('follow_button', follow: @follow) %>",
|
||||
"<%= j render('layouts/flash') %>")
|
||||
"<%= j render("follow_button", follow: @follow) %>",
|
||||
"<%= j render("layouts/flash") %>")
|
||||
|
||||
Reference in New Issue
Block a user