Don't include model name in json response
This commit is contained in:
parent
877a59b365
commit
0c62dc51b3
1
config/initializers/active_record.rb
Normal file
1
config/initializers/active_record.rb
Normal file
@ -0,0 +1 @@
|
|||||||
|
ActiveRecord::Base.include_root_in_json = false
|
Loading…
Reference in New Issue
Block a user