how to pass variable in route name in laravel?

wow, why are wrong answers (or answers for questions which were not asked in this case) upvoted?

EkinOf is correct, you can do

{{ route('admin.editIndustry', 1) }}

Btw your first one works too and is necessary, if you have more than 1 parameter

{{ route('admin.editIndustry', ['id'=>1]) }}
{{ route('admin.editIndustry', ['id'=>1, 'something'=>42]) }}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)