条件を確認するために、before_action にメソッドを渡すことはできませんか?
fzngagan
(Faizaan Gagan)
2
関連トピック
| トピック | 返信 | 表示 | アクティビティ | |
|---|---|---|---|---|
| Proper place to propose a permissions predicate? | 1 | 137 | 2025 年 2 月 21 日 | |
| Guardian before and after checks api | 4 | 344 | 2024 年 7 月 29 日 | |
| More detailed response for API /post_actions failures | 4 | 1215 | 2017 年 4 月 25 日 | |
| How to add route to root path | 3 | 540 | 2021 年 4 月 8 日 | |
| Allow specifiy user different from guardian.user in chat services such as Chat::CreateMessage | 3 | 693 | 2023 年 12 月 4 日 |