User Rollenhinzufügen - erster Versuch
This commit is contained in:
@@ -2,4 +2,8 @@ class UsersController < ApplicationController
|
||||
def index
|
||||
@users = User.all
|
||||
end
|
||||
def add_role
|
||||
@user.find(params[:id])
|
||||
@user.add_role(params[:role])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user