Refactor js followable response.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
b60748c552
commit
0c2be6a0d4
@@ -1 +1,2 @@
|
||||
$("#<%= dom_id(@followable) %> .js-follow").html('<%= j render("followable_button", followable: @followable) %>');
|
||||
App.Followable.update("<%= dom_id(@followable) %>",
|
||||
"<%= j render('followable_button', followable: @followable) %>")
|
||||
|
||||
Reference in New Issue
Block a user