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. |
||
|---|---|---|
| .. | ||
| admin | ||
| defer | ||
| discourse | ||
| docs | ||
| locales | ||
| admin.js.erb | ||
| application.js.erb | ||
| discourse.js | ||
| ember_include.js.erb | ||
| env.js | ||
| jquery_include.js.erb | ||
| main_include_admin.js | ||
| main_include.js | ||
| pagedown_custom.js | ||
| preload_store.js | ||
| vendor.js | ||