alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::PagesHelper#render_breadcrumb
Returns page links in a breadcrumb beginning from root to current page. === Options: separator: %(<span class="separator">></span>) # Maybe you don't want this separator. Pass another one. page: @page # Pass a different Page instead of the default (@page). without: nil # Pass Page object or array of Pages that must not be displayed. restricted_only: false # Pass boolean for displaying restricted pages only. reverse: false # Pass boolean for displaying breadcrumb in reversed reversed.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/helpers/alchemy/pages_helper.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--PagesHelper-render_breadcrumb-for-pr
# Commit to gitgit add app/helpers/alchemy/pages_helper.rbgit commit -m "better docs for Alchemy::PagesHelper#render_breadcrumb"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--PagesHelper-render_breadcrumb-for-pr
hub pull-request
# Celebrate!