This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

alessandro40172
alessandro40172

I'm working to show double data well in my routes.

From backend I insert the correct numbers but in the route it shows me my number but with other numbers.

I'm looking for the october documentation but every attempt has failed. Images: Alt text Alt text

My code in routes.php is:

    Route::get('api/{lang}/to_add', function( $lang ) {
    $to_adds = To_adds::with( 'image' )->get();

    $add_taxs = new Collection();

    foreach ($to_adds as $key => $value) {
        $to_adds[$key] = $value->lang($lang);

    }
    return $to_adds;
    });

Someone who can help me?

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.