NAME

Gantry::Plugins::Static - Static file method

SYNOPSIS

<Perl>
    # ...
    use MyApp qw{ -Engine=CGI -TemplateEngine=TT Static };
</Perl>

or

use Gantry::Plugins::Static;

DESCRIPTION

This plugins mixes in a method that will server a static file from disk.

[app_rootp]/static/somefile.ext

METHODS

do_static

this method serves a static file from disk.

SEE ALSO

Gantry
Gantry::Plugins

AUTHOR

Timotheus Keefer <tkeefer@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2006 Timotheus Keefer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.