cherry picking hmoore-r7 fix for load paths - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 980da245617fbf79d79ad4e6fff71c4a131e083b
(DIR) parent e84698645f207ecd889c79b76af56188b3456f24
(HTM) Author: Pedro Freitas <pelf@webreakstuff.com>
Date: Tue, 19 Mar 2013 12:45:42 +0000
cherry picking hmoore-r7 fix for load paths
Diffstat:
M generators/reportable_jquery_flot_… | 2 ++
M generators/reportable_raphael_asse… | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/generators/reportable_jquery_flot_assets/reportable_jquery_flot_assets_generator.rb b/generators/reportable_jquery_flot_assets/reportable_jquery_flot_assets_generator.rb
@@ -2,6 +2,8 @@ class ReportableJqueryFlotAssetsGenerator < Rails::Generators::Base
include Rails::Generators::Actions
+ source_root File.expand_path('../templates/', __FILE__)
+
def create_jquery_flot_file
empty_directory('public/javascripts')
copy_file(
(DIR) diff --git a/generators/reportable_raphael_assets/reportable_raphael_assets_generator.rb b/generators/reportable_raphael_assets/reportable_raphael_assets_generator.rb
@@ -2,6 +2,8 @@ class ReportableRaphaelAssetsGenerator < Rails::Generators::Base
include Rails::Generators::Actions
+ source_root File.expand_path('../templates/', __FILE__)
+
def create_raphael_file
empty_directory('public/javascripts')
copy_file(