alchemy_cms

https://github.com/magiclabs/alchemy_cms

Ruby

AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻‍♂️

Alchemy::Page::PageNatures#has_limited_editors?

Returns an Array of Alchemy roles which are able to edit this template

    # config/alchemy/page_layouts.yml
    - name: contact
      editable_by:
        - freelancer
        - admin

Source | Google | Stack overflow

Edit

git clone [email protected]:magiclabs/alchemy_cms.git

cd alchemy_cms

open app/models/alchemy/page/page_natures.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Alchemy--Page--PageNatures-has_limited_editors--for-pr


# Commit to git

git add app/models/alchemy/page/page_natures.rbgit commit -m "better docs for Alchemy::Page::PageNatures#has_limited_editors?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Alchemy--Page--PageNatures-has_limited_editors--for-pr

hub pull-request


# Celebrate!