misojs icon indicating copy to clipboard operation
misojs copied to clipboard

Add i18 support for naming auto mapped actions

Open jsguy opened this issue 11 years ago • 4 comments

We want to be able to control what the URLs are named when automatically mapped. Note: just the URLs, not the action method names, they should stay as-is.

See: https://github.com/jsguy/misojs/wiki/How-miso-works#route-by-convention

We want control over the URL part - best approach would be to create an object with action name as key, URL translation method as value.

jsguy avatar Jan 20 '15 07:01 jsguy

We should put it into the /cfg/server.json file.

jsguy avatar Feb 24 '15 03:02 jsguy

Has this been investigated any further since february? I'm just about to start building with misojs, and this is a feature I might need eventually, so consider this a bump in your planning :)

Really happy that you have created misojs, btw!

Niklas81 avatar Aug 11 '15 21:08 Niklas81

Not yet - though I think it will be fairly easy to do.

jsguy avatar Aug 11 '15 22:08 jsguy

Ok, cool.

Niklas81 avatar Aug 11 '15 22:08 Niklas81