Add followable specific notices to follows controller actions and render notice on AJAX JS response.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
App.Followable.update("<%= dom_id(@follow.followable) %>",
|
||||
"<%= j render('follow_button', follow: @follow) %>")
|
||||
"<%= j render('follow_button', follow: @follow) %>",
|
||||
"<%= j render('layouts/flash') %>")
|
||||
|
||||
Reference in New Issue
Block a user