You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/type-safe-sessions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ class UserSession < Session::Base
13
13
end
14
14
```
15
15
16
-
The `authenticated?` method is abstract in `Session::Base`and must be implemented. Using `property?`is the simplest approach, but you can also define it manually:
16
+
`Session::Base`provides a default `authenticated?`that returns `false`. Override it with your own logic:
0 commit comments