Fix incorrect type local in followers endpoint
This commit is contained in:
parent
603e9c501e
commit
825454bbae
|
@ -21,7 +21,7 @@ class UserController < ApplicationController
|
||||||
@users = @relationships.map(&:source)
|
@users = @relationships.map(&:source)
|
||||||
own_relationships = find_own_relationships
|
own_relationships = find_own_relationships
|
||||||
locals = {
|
locals = {
|
||||||
type: :friend,
|
type: :follower,
|
||||||
own_followings: own_relationships[Relationships::Follow],
|
own_followings: own_relationships[Relationships::Follow],
|
||||||
own_blocks: own_relationships[Relationships::Block],
|
own_blocks: own_relationships[Relationships::Block],
|
||||||
own_mutes: own_relationships[Relationships::Mute]
|
own_mutes: own_relationships[Relationships::Mute]
|
||||||
|
|
Loading…
Reference in New Issue