alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::Page::PageNaming#update_urlname!
Makes a slug of all ancestors urlnames including mine and delimit them be slash. So the whole path is stored as urlname in the database.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/models/alchemy/page/page_naming.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--Page--PageNaming-update_urlname--for-pr
# Commit to gitgit add app/models/alchemy/page/page_naming.rbgit commit -m "better docs for Alchemy::Page::PageNaming#update_urlname!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--Page--PageNaming-update_urlname--for-pr
hub pull-request
# Celebrate!