discourse/lib/generators/plugin/templates/route-map.js.es6.erb
Joffrey JAFFEUX d83f99fc2e
DEV: improves rails plugin generator ()
Fixes bugs, simplifies code, more default files. General idea, more is more here as it's easier to just delete things than reading and passing all the options.
2019-07-27 18:21:44 +02:00

8 lines
180 B
Plaintext

export default function() {
this.route("<%= dasherized_name %>", function() {
this.route("actions", function() {
this.route("show", { path: "/:id" });
});
});
};