Just export a function in a module called `route-map` and discourse's rotuer will do the rest. This makes it a lot easier to define routes in plugins. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| helpers | ||
| models | ||
| routes | ||
| templates | ||
| views | ||
Just export a function in a module called `route-map` and discourse's rotuer will do the rest. This makes it a lot easier to define routes in plugins. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| helpers | ||
| models | ||
| routes | ||
| templates | ||
| views | ||