Add authentication

This commit is contained in:
2025-06-11 18:08:24 +02:00
parent f8523fc3eb
commit 16b27a0d1c
24 changed files with 276 additions and 22 deletions

4
app/models/current.rb Normal file
View File

@@ -0,0 +1,4 @@
class Current < ActiveSupport::CurrentAttributes
attribute :session
delegate :user, to: :session, allow_nil: true
end