property_web_builder
https://github.com/etewiah/property_web_builder
Ruby
Create a fully featured real estate website on Rails in minutes! ⛺
Pwb::Agency#show_contact_map
def default_client_locale_to_use
if supported_locales.count == 1
locale = supported_locales.first.split("-")[0]
else
locale = default_client_locale || :en
end
locale
endEdit
git clone [email protected]:etewiah/property_web_builder.git
cd property_web_builder
open app/models/pwb/agency.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Pwb--Agency-show_contact_map-for-pr
# Commit to gitgit add app/models/pwb/agency.rbgit commit -m "better docs for Pwb::Agency#show_contact_map"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Pwb--Agency-show_contact_map-for-pr
hub pull-request
# Celebrate!