Comments (1)
Hey @leofmarciano! 👋🏻
Since your route is inside a specific domain, you need to specify it.
router
.builderForDomain('blog.adonisjs.com')
.params({ id: 1 })
.make('posts.show')
📚 https://docs.adonisjs.com/guides/url-builder#making-url-for-routes-under-a-domain
from core.
Related Issues (20)
- [v6] Bouncer make:policy command is not defined HOT 1
- ts-node does not seem to be a dev dependency HOT 2
- TypeScript being Optional HOT 2
- render2.call is not a function HOT 1
- Controller in Singular form
- TypeError: testUtils.db is not a function HOT 1
- I have a multitenant app in which tenants share a database and are separated by the schema. To switch between them, I use a middleware that gets the request subdomain and switches connections:
- V5: BelongsTo relationship returning null parent even though it has a foreign key. HOT 1
- make:controller --api & --resource descriptions are swapped HOT 2
- Cannot find module '#exceptions/handler' or its corresponding type declarations HOT 2
- `build` command fails when paths are passed via `--assets-args` HOT 1
- Getting error in Singleton import
- unable to determine transport target for "pino-pretty"
- i cant use String for accessTokens id HOT 2
- Healthcheck HOT 2
- Adonis 6 migration with 'uuid' as primary key HOT 3
- The data obtained by the get parameter is incorrect
- Pluralization is broken HOT 6
- Issue when inertia build with example code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.