X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FReaction%2FUI%2FView.pm;h=bdd04a2a56c4daa17b692c7baa123f74a6d8101d;hb=7ea45b2aff36dd61953b1517a1cfb079dcea230c;hp=515842937b0f4395dcb1b53188ce528bc1d40434;hpb=f1cd5548dac21719deb3412fbc5d8dadb9338cc3;p=catagits%2FReaction.git diff --git a/lib/Reaction/UI/View.pm b/lib/Reaction/UI/View.pm index 5158429..bdd04a2 100644 --- a/lib/Reaction/UI/View.pm +++ b/lib/Reaction/UI/View.pm @@ -27,6 +27,13 @@ has 'skin' => ( 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');