conversionfoundry / breeze

A Ruby on Rails CMS for brochure-style websites.
Other
3 stars 2 forks source link

Rename register_class to register_item #67

Closed isaacfreeman closed 11 years ago

isaacfreeman commented 11 years ago

In breeze/lib/breeze/content.rb, the register_class method is provided to inform Breeze of any subclasses of Item provided by engines.

Since it only applies to subclasses of Item, it would be clearer to rename it to "register_item".

albandiguer commented 11 years ago

This method will register any classes given in parameters. It can be an external constant which is not a subclass of Item.