[Rt-commit] r19950 - in rt/3.999/trunk/lib: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jun 8 15:25:04 EDT 2009
Author: sartak
Date: Mon Jun 8 15:25:03 2009
New Revision: 19950
Modified:
rt/3.999/trunk/lib/RT.pm
rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm
Log:
RT->local_html_path
Modified: rt/3.999/trunk/lib/RT.pm
==============================================================================
--- rt/3.999/trunk/lib/RT.pm (original)
+++ rt/3.999/trunk/lib/RT.pm Mon Jun 8 15:25:03 2009
@@ -379,6 +379,14 @@
sub html_path { Jifty::Util->app_root . '/share/html' }
+=head2 local_html_path
+
+The root of F</local/html> (user Mason templates)
+
+=cut
+
+sub local_html_path { Jifty::Util->app_root . '/local/html' }
+
=head1 BUGS
Please report them to C<rt-bugs at bestpractical.com>, if you know what's
Modified: rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm Mon Jun 8 15:25:03 2009
@@ -110,7 +110,7 @@
*config = sub {
my %config = $oldsub->();
push @{ $config{comp_root} },
- [ local => Jifty::Util->app_root . '/local/html' ];
+ [ local => RT->local_html_path ];
for my $plugin ( @{ RT->plugins } ) {
push @{ $config{comp_root} },
[ 'plugin-' . $plugin->name => $plugin->component_root ];
More information about the Rt-commit
mailing list