-
Probably this issue already been solved before, but i can't find the solution correclty. Can someone help me to solve this "ErrorException Undefined variable: config" > it happen when I'm uploading all files to server
This $config > where can I put the controller for the config? I'm learning all the coding just for 10 days now |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Edited to triple backticks for readability |
Beta Was this translation helpful? Give feedback.
-
You need to pass the Config in as a a variable to your view. ...
public function login()
{
...
return view('myth/login', [
'config' => config('Auth'),
]); Check the framework User Guide on View variables. |
Beta Was this translation helpful? Give feedback.
-
thank you so much :) |
Beta Was this translation helpful? Give feedback.
You need to pass the Config in as a a variable to your view.
Check the framework User Guide on View variables.