property_web_builder
https://github.com/etewiah/property_web_builder
Ruby
Create a fully featured real estate website on Rails in minutes! ⛺
Pwb::SearchController#header_image
def header_image_url # used by berlin theme hi_content = Content.where(tag: 'landing-carousel')[0] @header_image_url = hi_content.present? ? hi_content.default_photo_url : "" end
Edit
git clone [email protected]:etewiah/property_web_builder.git
cd property_web_builder
open app/controllers/pwb/search_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Pwb--SearchController-header_image-for-pr
# Commit to gitgit add app/controllers/pwb/search_controller.rbgit commit -m "better docs for Pwb::SearchController#header_image"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Pwb--SearchController-header_image-for-pr
hub pull-request
# Celebrate!