Skip to content

Commit a416828

Browse files
committed
Fix typo re: config.exception_class_whitelist = [].
1 parent 7e16371 commit a416828

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ JSONAPI.configure do |config|
12471247
# processing. If you want to use Rails' `rescue_from` macro to
12481248
# catch this error and render a 403 status code, you should add
12491249
# the `Pundit::NotAuthorizedError` to the `exception_class_whitelist`.
1250-
self.exception_class_whitelist = []
1250+
config.exception_class_whitelist = []
12511251
end
12521252
```
12531253

0 commit comments

Comments
 (0)