* Add a missing bounty hunter * Add a msg about updating social usernames * Add mailto: link for yo@dev in terms * Use render partial for help tag * Lint a file * Add first draft of onboarding follow users * WIP onboarding * Change users api controller * Create FollowSuggester to return suggested follows for user * Create initial follow users flow in onboarding * Move follow user logic to top lvl * Add follow api end point for onboarding * Add profile img and update follow action * Remove checkbox and use a tag instead * Lint and update tests * Remove incomplete test for now * Final adjustments to signup modal * Update jest snapshot * Add more jest tests and fix typo
15 lines
330 B
Ruby
15 lines
330 B
Ruby
module Api
|
|
module V0
|
|
class UsersController < ApplicationController
|
|
def index
|
|
unless user_signed_in?
|
|
@users = []
|
|
return
|
|
end
|
|
if params[:state] == "follow_suggestions"
|
|
@users = UserFollowSuggester.new(current_user).suggestions
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|