alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::PagesController#first_public_child
Returns the first public child of the current language root page. If +redirect_to_public_child+ is configured to +false+ it returns +nil+.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/controllers/alchemy/pages_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--PagesController-first_public_child-for-pr
# Commit to gitgit add app/controllers/alchemy/pages_controller.rbgit commit -m "better docs for Alchemy::PagesController#first_public_child"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--PagesController-first_public_child-for-pr
hub pull-request
# Celebrate!