Changeset 907

Show
Ignore:
Timestamp:
05/06/07 21:36:20 (2 years ago)
Author:
mikem836
Message:

update aar plugin to not overlap core and add views

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • acts_as_reportable/trunk/init.rb

    r667 r907  
    11require "ruport" 
    2 require "acts_as_reportable" 
     2require "acts_as_reportable_view" 
     3require "template_runner" 
    34 
    4 ActiveRecord::Base.send :include, Ruport::Reportable 
     5ActionView::Base::register_template_handler :report, Acts::Reportable::View 
     6 
     7ActionController::Base.exempt_from_layout :report 
     8 
     9Mime::Type.register "application/pdf", :pdf