このコミットが含まれているのは:
2026-10-19 00:03:55 +09:00
コミット a86129006d
37個のファイルの変更、800行の追加、224行の削除
+6
ファイルの表示
@@ -21,6 +21,12 @@ class UsersController < ApplicationController
render json: { valid: true, user: user.slice(:id, :name, :inheritance_code, :role) }
end
def session
return head :unauthorized unless current_user
render json: current_user.slice(:id, :name, :role)
end
def renew
return head :unauthorized unless current_user