alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::RoutingConstraints#handable_format?
We only want html and rss requests to be handled by us. If an unknown format is requested we want to handle this, because it could be a legacy route that needs to be redirected.
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open lib/alchemy/routing_constraints.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--RoutingConstraints-handable_format--for-pr
# Commit to gitgit add lib/alchemy/routing_constraints.rbgit commit -m "better docs for Alchemy::RoutingConstraints#handable_format?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--RoutingConstraints-handable_format--for-pr
hub pull-request
# Celebrate!