@@ -31,8 +31,7 @@ |
||
| 31 | 31 | $config = $this->_configRepository->getByUserId($userId); |
| 32 | 32 | if($config->getData('use_devdashboard')) { |
| 33 | 33 | return 'devdashboard/index/index'; |
| 34 | - } |
|
| 35 | - else { |
|
| 34 | + } else { |
|
| 36 | 35 | return $callable(); |
| 37 | 36 | } |
| 38 | 37 | |
@@ -7,9 +7,9 @@ |
||
| 7 | 7 | { |
| 8 | 8 | |
| 9 | 9 | protected $_whitelist =[ |
| 10 | - 'user_id', |
|
| 11 | - 'configuration', |
|
| 12 | - 'use_devdashboard' |
|
| 10 | + 'user_id', |
|
| 11 | + 'configuration', |
|
| 12 | + 'use_devdashboard' |
|
| 13 | 13 | ]; |
| 14 | 14 | |
| 15 | 15 | protected $_configRepository; |