Skip Menu |

This queue is for tickets about the Catalyst-Plugin-CustomErrorMessage CPAN distribution.

Report information
The Basics
Id: 29828
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: Catalyst-Plugin-CustomErrorMessage

People
Owner: jozef [...] kutej.net
Requestors: rafl [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: (no value)



Subject: Uses hardcoded $c->view('TT')
This plugin forced one to both have a TT view called 'TT' and to write your error templates with TT. I prefer mason templates and therefor suggest to add a new configuration value to select the view to use to render the error template. Also the plugin sets a hardcoded content type. I'd like to see that customizable as well. TIA, Flo
I have released 0.02 version we you can set: __PACKAGE__->config->{'custome-error-messsage'}->{'content-type'} __PACKAGE__->config->{'custome-error-messsage'}->{'view-name'} __PACKAGE__->config->{'custome-error-messsage'}->{'response-status'} Hope this is enought. If not then please be more specific how it should be made. Jozef.