Sha256: 1f53d2a7202800be9292782d096d29368a3ed426621443f435de77b84d707e8a
Contents?: true
Size: 395 Bytes
Versions: 26
Compression:
Stored size: 395 Bytes
Contents
module Api class UsersController < BaseController include UsersControllerTemplate before_action :authorize_janitor! def create @user.save! @user.notify! render json: @user.as_platform_json end def update @user.update! user_params.except([:email, :permissions, :uid]) @user.notify! render json: @user.as_platform_json end end end
Version data entries
26 entries across 26 versions & 1 rubygems