Changeset [e49161691f7d738c62f591a87160189a057c3bb4] by Nathan B

September 24th, 2010 @ 09:37 PM

  • Heavily refactored and reworked callback extension. View hooks are now treated as a separate entity, distinct from controller and legacy view hooks. However, they both still use the same @@responder variable to store the classes that implement a given hook. View hooks are now stored as Procs in a hash instead of being defined as methods on the class. This allows a Callback subclass to chain data operations for the same hook. Improved documentation and tidied up code. Added specs for chaining view hook operations, created new CallbackSpecHelper module to contain helper classes and methods. http://github.com/michaeldv/fat_free_crm/commit/e49161691f7d738c62f...

Committed by Nathan B

  • M lib/fat_free_crm/callback.rb
  • M spec/lib/fat_free_crm/callback_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond