feat: Disable member list via configuration (#990)
This commit is contained in:
parent
075f3cfa1a
commit
c50ba6eda5
10 changed files with 14 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
|||
class Foodcoop::UsersController < ApplicationController
|
||||
before_action -> { require_config_disabled :disable_members_overview }
|
||||
|
||||
def index
|
||||
@users = User.undeleted.sort_by_param(params['sort'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue