fix to display_line macro in factory templates (bug 22920)
fix to correct problem with LocationMatch and regex based Location directives in apache config.
change to view::base to only call display_columns, stringify_columns, to_cgi if model class can
fix to display_line macro in factory templates (bug 22920)
fix to correct problem with LocationMatch and regex based Location directives in apache config.
change to view::base to only call display_columns, stringify_columns, to_cgi if model class can
+ changed template path to only look for custom, factory, etc on first/only path provided
$root = [ $root ];
}
my @output = ();
$root = [ $root ];
}
my @output = ();
foreach my $path (@$root) {
push(@output,
(
foreach my $path (@$root) {
push(@output,
(
&& File::Spec->catdir( $path, $r->model_class->table )
)
);
&& File::Spec->catdir( $path, $r->model_class->table )
)
);
- push(@output, File::Spec->catdir( $path, "custom" ));
+ push(@output, File::Spec->catdir( $path, "custom" )) unless ($i);
- push(@output, File::Spec->catdir( $path, "factory" ));
+ push(@output, File::Spec->catdir( $path, "factory" )) unless ($i);
+ $i = 1;
}
return grep( $_, @output);
}
return grep( $_, @output);