This project is read-only.

What is the source in IAliasService?

Topics: Core, Writing modules
Apr 13, 2012 at 5:58 PM
Edited Apr 13, 2012 at 6:00 PM

I couldn't really figure out what the source parameter passed to IAliasService.Set() should be. Could someone help me please? I'd like to dynamically create urls for custom controller actions an IAliasService looks like the right tool.

Judging from the AdminController of Alias it could be blank too...

Apr 16, 2012 at 11:12 AM

When alias is used with Autoroute it uses a pattern that associates it with the part, have a look in the PublishAlias method of the AutorouteService

Apr 16, 2012 at 11:27 AM

Thanks! It does look that in my case it could be left blank.