has 'layout_set_class' => (is => 'ro', lazy_build => 1);
has 'rendering_context_class' => (is => 'ro', lazy_build => 1);
+
+# default view doesn't localize
+sub localize {
+ my($self, $value) = @_;
+ return $value;
+}
+
sub _build_layout_set_class {
my ($self) = @_;
return $self->find_related_class('LayoutSet');
$new_args->{$name} = $value;
},
+ localized => sub {
+ my($value) = @_;
+ return $_{self}->view->localize($value);
+ },
call_next => sub {
confess "args passed, should be just call_next; or call_next();"
if @_;