mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
10 lines
187 B
Ruby
10 lines
187 B
Ruby
module Admin
|
|||
class UsersController < ApplicationController
|
|||
before_action :require_login
|
|||
|
|||
def update
|
|||
AdminRoleService.update!(params[:id], params[:role])
|
|||
end
|
|||
end
|
|||
end
|