From: "Bogdan Lucaciu" <[email protected]>
On Wed, Nov 17, 2010 at 9:11 PM, Octavian Rasnita <[email protected]> wrote:

Thanks for the example. I think that the following line could be improved:
$form->load_config_filestem($c->config->{root}."/forms/students/info$form_id");
to be (untested):
$form->load_config_filestem($c->uri_for("root/forms/students/info$form_id"));

Do you mean path_to instead of uri_for ?

--
Bogdan Lucaciu


Oh yes, I'm sorry. Of course path_to().

Thanks for correction.

Octavian


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

Reply via email to