alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::Admin::ElementsHelper#update_essence_select_elements
This helper loads all elements from page that have EssenceSelects in them. It returns a javascript function that replaces all editor partials of this elements. We need this while updating, creating or trashing an element, because another element on the same page could have a element selector in it. In cases like this one wants Ember.js databinding!
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/helpers/alchemy/admin/elements_helper.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--Admin--ElementsHelper-update_essence_select_elements-for-pr
# Commit to gitgit add app/helpers/alchemy/admin/elements_helper.rbgit commit -m "better docs for Alchemy::Admin::ElementsHelper#update_essence_select_elements"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--Admin--ElementsHelper-update_essence_select_elements-for-pr
hub pull-request
# Celebrate!