5balloons / laravel-smart-ads

Ads, Banners, Callout Manager and Auto Ad Inserter for Laravel
MIT License
298 stars 32 forks source link

set prefix #15

Open Zarky2k2 opened 6 months ago

Zarky2k2 commented 6 months ago

i see your project can set custom prefix in here image

but there is a problem when calling it with .blade: you don't assign a prefix when calling the route For example, if I set the prefix to admin, it will be domain.com/admin/smart-ad-manager. However, because the internal url has been hard set, there will be no admin prefix inside. So what I want is that after setting the prefix, I want the url to look like this: domain.com/admin/smart-ad-manager/ads/create, not domain.com/smart-ad-manager/ads/create image

And dont forget to name the route