| don't use absolute paths - reportable - Fork of reportable required by WarVox, … | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 1f28714d741a7eb445ab9110770737523f7fea41 | |
| parent ebfad6bda0a5db723b99ceaabe26b89a65d708a0 | |
| Author: Marco Otte-Witte <[email protected]> | |
| Date: Mon, 19 Apr 2010 12:32:04 +0200 | |
| don't use absolute paths | |
| Diffstat: | |
| M lib/saulabs/reportable.rb | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/lib/saulabs/reportable.rb b/lib/saulabs/reportable.rb | |
| @@ -5,7 +5,7 @@ module Saulabs | |
| module Reportable | |
| - require File.join(File.dirname(__FILE__), 'reportable', 'railtie') if defi… | |
| + require 'saulabs/reportable/railtie' if defined?(Rails) && Rails::VERSION:… | |
| # Extends the {Saulabs::Reportable::ClassMethods#reportable} method into +… | |
| # |