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

Crazymodder
Crazymodder

Hi,

I start building a plugin. In my toolbar I have integrated a button and this button should point to a route that will make an oauth request. I hope someone can help me how to generate this link. I tried with this code but its not working in my _list_toolbar.htm

<a href="{{ Backend::url('crazymodder/google/oauth') }}" class="btn btn-primary oc-icon-google-plus">Make an OAuth</a>

Thanks for your help.

Crazymodder
Crazymodder

Ok my mistake,

I simply have to use <?= instead of brackets {{. Im to much in Laravel and blade world.

Greets Crazymodder

1-2 of 2

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