egmose5492dk
Only access to certain resulsts in resource - How do i limit that?
@John Your´e absolutely right. Right after i made this post, i rewrote it a bit, to get the marinas accesible from the model, and now it seems to be working as expected.
Thanks 🙂
3 replies
Add multiple translation to translation table
For the Admin interface i´m using filament. No package is used besides that. The idea is to build an option for me to easily manage translations. I will write them to the database, anden create the JSON files based on that.
8 replies
Add multiple translation to translation table
Sorry for being offline - Has had some family related manners
It doesnt log anything unfortunately. So it isnt being called which i excpect it would.
The exeption is thrown in App
\
Http
\
Middleware
\
LocaleMiddleware
: 19
handle
Line 19:
return $next($request);
class LocaleMiddleware
{
public function handle($request, Closure $next)
{
if (Session::has('applocale') && array_key_exists(Session::get('applocale'), config('languages'))) {
App::setLocale(Session::get('applocale'));
}
return $next($request);
}
}
8 replies