property_web_builder
https://github.com/etewiah/property_web_builder
Ruby
Create a fully featured real estate website on Rails in minutes! ⛺
Api::V1::ClientsController#bulk_update
def index # can't figure out why default jsonapi index action returns nothing.. sections = Section.all # JSONAPI::ResourceSerializer.new(Api::V1::SectionResource).serialize_to_hash(Api::V1::SectionResource.new(sections, nil)) render json: sections end
Edit
git clone [email protected]:etewiah/property_web_builder.git
cd property_web_builder
open app/controllers/pwb/api/v1/clients_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Api--V1--ClientsController-bulk_update-for-pr
# Commit to gitgit add app/controllers/pwb/api/v1/clients_controller.rbgit commit -m "better docs for Api::V1::ClientsController#bulk_update"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Api--V1--ClientsController-bulk_update-for-pr
hub pull-request
# Celebrate!