property_web_builder

https://github.com/etewiah/property_web_builder

Ruby

Create a fully featured real estate website on Rails in minutes! ⛺

ApiPublic::V1::PropsController#cors_preflight_check

If this is a preflight OPTIONS request, then short-circuit the
request, return only the necessary headers and return an empty
text/plain.

Source | Google | Stack overflow

Edit

git clone [email protected]:etewiah/property_web_builder.git

cd property_web_builder

open app/controllers/pwb/api_public/v1/props_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ApiPublic--V1--PropsController-cors_preflight_check-for-pr


# Commit to git

git add app/controllers/pwb/api_public/v1/props_controller.rbgit commit -m "better docs for ApiPublic::V1::PropsController#cors_preflight_check"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ApiPublic--V1--PropsController-cors_preflight_check-for-pr

hub pull-request


# Celebrate!