Href for a route in JavaScript

Posted 1 year ago by LuisFelipe
function redirecionar(item) { location.href = 'http://dev.dsdsoftware/recebimento/dashboard'; }

Route name: recebimento.dashboard

How do I put the route instead of the link in the JavaScript href?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.