Module: DataMapper::Resource::DrupalHook
- Defined in:
- lib/drupal.rb
Overview
have to change this.. something broke somewhere (is sad)
Class Method Summary collapse
Class Method Details
.included(model) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/drupal.rb', line 41 def self.included model model.class_eval do def self.post_drupal &blk Drupal.hooks = Drupal::PostHook.new self, blk end end end |