Fix source_root for the other two generators as well - reportable - Unnamed rep… | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 0df483b8bc4873c284acd75126d8c016355ebab5 | |
parent 8a353f324c3cd19215f75f712cf34c1cbf32e5c4 | |
Author: HD Moore <[email protected]> | |
Date: Sat, 12 Jan 2013 19:17:03 -0600 | |
Fix source_root for the other two generators as well | |
Diffstat: | |
M lib/generators/reportable_jquery_f… | 2 ++ | |
M lib/generators/reportable_raphael_… | 2 ++ | |
2 files changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/lib/generators/reportable_jquery_flot_assets/reportable_jquery_flo… | |
@@ -2,6 +2,8 @@ class ReportableJqueryFlotAssetsGenerator < Rails::Generators::… | |
include Rails::Generators::Actions | |
+ source_root File.expand_path('../templates/', __FILE__) | |
+ | |
def create_jquery_flot_file | |
empty_directory('public/javascripts') | |
copy_file( | |
diff --git a/lib/generators/reportable_raphael_assets/reportable_raphael_assets… | |
@@ -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( |