Class: LoveMonster::Api::V1::PeopleController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- LoveMonster::Api::V1::PeopleController
- Defined in:
- app/controllers/love_monster/api/v1/people_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 5 6 |
# File 'app/controllers/love_monster/api/v1/people_controller.rb', line 2 def index @people = LoveMonster::Person.all() render json: {data: @people} end |