Mercurial > pub > Impl
diff Lib/IMPL/Web/NotAllowedException.pm @ 302:673581380e79
Added templates provider functionality to controls
minor fixes
author | cin |
---|---|
date | Mon, 01 Apr 2013 00:41:48 +0400 |
parents | 6d8092d8ce1b |
children |
line wrap: on
line diff
--- a/Lib/IMPL/Web/NotAllowedException.pm Mon Mar 25 02:04:18 2013 +0400 +++ b/Lib/IMPL/Web/NotAllowedException.pm Mon Apr 01 00:41:48 2013 +0400 @@ -4,13 +4,14 @@ use IMPL::Const qw(:prop); use IMPL::declare { base => [ - 'IMPL::Web::Exception' => sub { - my %args = @_; - $args{Message}; - } + 'IMPL::Web::Exception' => '@_' ] }; +use IMPL::Resources::Strings { + message => "The requested method isn't allowed" +}; + sub CTOR { my $this = shift; my %args = @_;