Skip to content

Commit e2092ce

Browse files
Add files via upload
1 parent 53e9297 commit e2092ce

File tree

1 file changed

+18
-0
lines changed
  • 3. Binary to Decimal/declarative

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
use Illuminate\Support\Facades\Route;
4+
use App\Http\Controllers\CollectionController;
5+
6+
/*
7+
|--------------------------------------------------------------------------
8+
| Web Routes
9+
|--------------------------------------------------------------------------
10+
|
11+
| Here is where you can register web routes for your application. These
12+
| routes are loaded by the RouteServiceProvider and all of them will
13+
| be assigned to the "web" middleware group. Make something great!
14+
|
15+
*/
16+
17+
Route::get('/show/{binary}', [CollectionController::class, 'show'])->where('binary','^[01]+$');
18+

0 commit comments

Comments
 (0)