alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::ConfigurationMethods#prefix_locale?
Decides if the locale should be prefixed to urls If the current language's locale (or the optionally passed in locale) matches the current I18n.locale then the prefix os omitted. Also, if only one published language exists.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/controllers/concerns/alchemy/configuration_methods.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--ConfigurationMethods-prefix_locale--for-pr
# Commit to gitgit add app/controllers/concerns/alchemy/configuration_methods.rbgit commit -m "better docs for Alchemy::ConfigurationMethods#prefix_locale?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--ConfigurationMethods-prefix_locale--for-pr
hub pull-request
# Celebrate!