alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::Page.new_name_for_copy
Returns a new name for copy of page. If the differences hash includes a new name this is taken. Otherwise +source.name+
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/models/alchemy/page.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--Page-new_name_for_copy-for-pr
# Commit to gitgit add app/models/alchemy/page.rbgit commit -m "better docs for Alchemy::Page.new_name_for_copy"
# 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-new_name_for_copy-for-pr
hub pull-request
# Celebrate!