module Management
class UsersController < ManagementController
def index
@users = User.all
end
def toggle_admin
@user = find_user
@user.toggle_admin!
def show
@profile = @user.speaker_profile
private
def find_user
User.find(params[:id])