Fix basic settings
This commit is contained in:
@@ -14,11 +14,11 @@ class SettingsController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return Settings::all();
|
return Settings::all()->pluck("name")->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get($setting)
|
public function get($name)
|
||||||
{
|
{
|
||||||
return Settings::get($setting);
|
return Settings::get($name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user