Commit e950ba39020e81824300ff9c1ba0adda05372923

Authored by Yarik
1 parent 48f47983

Artbox comment premoderate

Showing 2 changed files with 9 additions and 1 deletions   Show diff stats
common/config/main.php
@@ -17,7 +17,8 @@ @@ -17,7 +17,8 @@
17 ], 17 ],
18 ], 18 ],
19 'artbox-comment' => [ 19 'artbox-comment' => [
20 - 'class' => 'artbox\webcomment\Module', 20 + 'class' => 'artbox\webcomment\Module',
  21 + 'enablePremoderate' => false,
21 ], 22 ],
22 ], 23 ],
23 'components' => [ 24 'components' => [
frontend/config/main.php
@@ -71,6 +71,13 @@ @@ -71,6 +71,13 @@
71 'special/<type:(new|sale)>' => 'special/index', 71 'special/<type:(new|sale)>' => 'special/index',
72 'special/<category>/<type:(new|sale)>' => 'special/category', 72 'special/<category>/<type:(new|sale)>' => 'special/category',
73 'robots.txt' => 'site/robots', 73 'robots.txt' => 'site/robots',
  74 + [
  75 + 'pattern' => 'artbox-comment/manage/<action>',
  76 + 'route' => 'notfound',
  77 + 'defaults' => [
  78 + 'action' => '',
  79 + ],
  80 + ],
74 ], 81 ],
75 ], 82 ],
76 'basket' => [ 83 'basket' => [