mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-09 08:38:49 +01:00
Update UserController.php
This commit is contained in:
parent
e4f77996e2
commit
7eee9bc1a2
@ -208,9 +208,8 @@ class UserController extends Controller
|
||||
$custom_css = Link::where('id', $linkId)->value('custom_css');
|
||||
$buttonId = Link::where('id', $linkId)->value('button_id');
|
||||
$buttonName = Button::where('id', $buttonId)->value('name');
|
||||
|
||||
|
||||
$buttons = Button::select('id', 'name')->orderBy('name', 'asc')->get();
|
||||
$buttons = Button::select('id', 'name')->orderBy('name', 'asc')->get();
|
||||
|
||||
return view('studio/edit-link', ['custom_css' => $custom_css, 'buttonId' => $buttonId, 'buttons' => $buttons, 'link' => $link, 'title' => $title, 'order' => $order, 'id' => $linkId , 'buttonName' => $buttonName]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user