comparison Lib/IMPL/Web/Application/Action.pm @ 357:ec58c47edb52

web security: code cleanup, refactoring
author cin
date Fri, 18 Oct 2013 15:10:10 +0400
parents c090d9102a38
children 2287c72f303a
comparison
equal deleted inserted replaced
356:97131d500f16 357:ec58c47edb52
28 28
29 sub CTOR { 29 sub CTOR {
30 my ($this) = @_; 30 my ($this) = @_;
31 31
32 $this->context({}); 32 $this->context({});
33 $this->security($this->application->security->new()) 33 $this->security($this->application->CreateSecurity());
34 if $this->application->security;
35 } 34 }
36 35
37 sub cookie { 36 sub cookie {
38 my ($this,$name,$rx) = @_; 37 my ($this,$name,$rx) = @_;
39 38