projects
/
catagits/Reaction.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
nuked SiteLayout->http_header, should need of it since we have arg and %_
[catagits/Reaction.git]
/
lib
/
Reaction
/
UI
/
WidgetClass.pm
diff --git
a/lib/Reaction/UI/WidgetClass.pm
b/lib/Reaction/UI/WidgetClass.pm
index
0b3e62f
..
e1a797b
100644
(file)
--- a/
lib/Reaction/UI/WidgetClass.pm
+++ b/
lib/Reaction/UI/WidgetClass.pm
@@
-67,6
+67,10
@@
override exports_for_package => sub {
$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 @_;