alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::ControllerActions#current_alchemy_user
The current authorized user. In order to have Alchemy's authorization work, you have to provide a +current_user+ method in your app's ApplicationController, that returns the current user. To change the method +current_alchemy_user+ will call, set +Alchemy.current_user_method+ to a different method name. If you don't have an App that can provide a +current_user+ object, you can install the `alchemy-devise` gem that provides everything you need.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/controllers/concerns/alchemy/controller_actions.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--ControllerActions-current_alchemy_user-for-pr
# Commit to gitgit add app/controllers/concerns/alchemy/controller_actions.rbgit commit -m "better docs for Alchemy::ControllerActions#current_alchemy_user"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--ControllerActions-current_alchemy_user-for-pr
hub pull-request
# Celebrate!