-
Notifications
You must be signed in to change notification settings - Fork 3
Auto includes error #58
Copy link
Copy link
Open
Description
Some controllers don't have a model and will generate the following error:
ActionView::Template::Error: undefined method 'model_name' for nil:NilClass from:
standardapi/lib/standard_api/controller.rb
Line 292 in caaf52d
| @includes = nested_includes(model, params[model.model_name.singular].to_unsafe_h).merge(@includes) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels