Add follow selected followers button (#15148)
* Add follow selected followers button * Fix unused variable * Fix i18n normalize
This commit is contained in:
parent
4790a126be
commit
2b1a6e734f
4 changed files with 14 additions and 1 deletions
|
@ -49,7 +49,9 @@ class RelationshipsController < ApplicationController
|
|||
end
|
||||
|
||||
def action_from_button
|
||||
if params[:unfollow]
|
||||
if params[:follow]
|
||||
'follow'
|
||||
elsif params[:unfollow]
|
||||
'unfollow'
|
||||
elsif params[:remove_from_followers]
|
||||
'remove_from_followers'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue