Releases: codelation/blocky
Version 1.0.0
This is a major change from the previous Blocky versions.
Remove All the Things!
I stripped out everything! Pretty much all that is left is a Blocky::ContentBlock model and the <%= blocky(:content_key) %> view helper. I wanted to get away from trying to do any authentication within this gem. Blocky can now be added to your project more easily and allows you to use your own authorization methods and admin interface.
Global Content Blocks
Blocky no longer attempts to detect the page the content block is used on. All content block keys are now global rather than also using the page to determine the content block to load.
<%# The same content will be rendered in any template the `:company_address` key is used. %>
<%= blocky(:company_address) %>Active Admin
If Active Admin exists in your project, Blocky will register itself with Active Admin to provide a management interface. You can override this by registering Blocky::ContentBlock within your own Rails app.