On 2006-07-12 07:01:38 -0700, John Napiorkowski wrote:
> 'View::tt_page':
>   TEMPLATE_EXTENSION: '.tt'
>   COMPILE_DIR: '/tmp/template_cache'
>   INCLUDE_PATH:
>     - talentspace_portal2->path_to( 'tt_templates' )

ConfigLoader provides a __path_to()__ replacement for this situation.
For example:

INCLUDE_PATH: __path_to('tt_templates')__

For more information, see the finalize_config method in ConfigLoader:

http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm#finalize_config

-- 
Daniel Westermann-Clark

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to