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 17 ],
18 18 ],
19 19 'artbox-comment' => [
20   - 'class' => 'artbox\webcomment\Module',
  20 + 'class' => 'artbox\webcomment\Module',
  21 + 'enablePremoderate' => false,
21 22 ],
22 23 ],
23 24 'components' => [
... ...
frontend/config/main.php
... ... @@ -71,6 +71,13 @@
71 71 'special/<type:(new|sale)>' => 'special/index',
72 72 'special/<category>/<type:(new|sale)>' => 'special/category',
73 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 83 'basket' => [
... ...