mirror of
https://github.com/ditkrg/jsonapi-swagger.git
synced 2026-01-22 13:56:54 +00:00
fix model class constantize
This commit is contained in:
parent
e5fba11472
commit
f2e93dd395
@ -82,7 +82,7 @@ module Jsonapi
|
||||
end
|
||||
|
||||
def model_klass
|
||||
model_class_name.safe_constantize
|
||||
file_name.camelize.safe_constantize
|
||||
end
|
||||
|
||||
def resource_klass
|
||||
|
||||
Loading…
Reference in New Issue
Block a user