e311d8f521
The board-scoped mention prompt was returning all users with board access, including those marked as inactive. This adds the `.active` scope to match the behavior of the account-wide mention prompt. Fixes https://app.fizzy.do/5986089/cards/3861
12 lines
219 B
Ruby
12 lines
219 B
Ruby
class Prompts::Boards::UsersController < ApplicationController
|
|
include BoardScoped
|
|
|
|
def index
|
|
@users = @board.users.active.alphabetically
|
|
|
|
if stale? etag: @users
|
|
render layout: false
|
|
end
|
|
end
|
|
end
|