alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::Admin::ResourcesController#resource_params
Permits all parameters as default! THIS IS INSECURE! Although only signed in admin users can send requests anyway, but we should change this. Please define this method in your inheriting controller and set the parameters you want to permit. TODO: Hook this into authorization provider.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/controllers/alchemy/admin/resources_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--Admin--ResourcesController-resource_params-for-pr
# Commit to gitgit add app/controllers/alchemy/admin/resources_controller.rbgit commit -m "better docs for Alchemy::Admin::ResourcesController#resource_params"
# 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--ResourcesController-resource_params-for-pr
hub pull-request
# Celebrate!