fix settings edit not working

This commit is contained in:
Chris
2018-10-15 14:35:14 +01:00
parent 10b70d4a09
commit aceed3d13b
4 changed files with 12 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ class SettingsController extends Controller
{
public function __construct()
{
$this->middleware('allowed');
}
/**
@@ -20,7 +21,6 @@ class SettingsController extends Controller
*/
public function index()
{
User::checkAuthOrLogin();
$settings = SettingGroup::with([
'settings',
])->orderBy('order', 'ASC')->get();