diff 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
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application/Action.pm	Thu Oct 17 17:48:50 2013 +0400
+++ b/Lib/IMPL/Web/Application/Action.pm	Fri Oct 18 15:10:10 2013 +0400
@@ -30,8 +30,7 @@
     my ($this) = @_;
     
     $this->context({});
-    $this->security($this->application->security->new())
-        if $this->application->security;
+    $this->security($this->application->CreateSecurity());
 }
 
 sub cookie {