Dynamic Alias

Topics: General
Nov 24, 2012 at 1:19 PM
Edited Nov 24, 2012 at 1:20 PM


is it possible to create a dynamic Alias?

for example ich have an Controlleraction output(string id). Normally I have the slug ~/module-name/controllername/output/{id} => this works fine,
but now i want to use the slug ~/output/{id}.

If yes how can i create an alias-path like that?




Nov 26, 2012 at 8:40 PM

Just implement IRouteProvider. There are many examples in the code.