This project is read-only.

Controllers with Controller in the name

May 7, 2015 at 7:00 PM
If you have a Controller called HelpControllerController because your domain modem is called HelpController T$MVC blows on generation.

I have fixed it in my version and change :
public string Name
{
    get
    {
        // remove controller suffix (if it exists)
        return ClassName.Replace(ControllerSuffix, "");
   }
}

TO

public string Name
{
    get
    {
        // remove controller suffix (if it exists)
 //       return ClassName.Replace(ControllerSuffix, "");
        return ClassName.Substring(0, ClassName.Length - ControllerSuffix.Length);
    }
}

Hope it helps someone one day
May 8, 2015 at 2:37 AM
Please note that T4MVC is now hosted on https://github.com/T4MVC/T4MVC. Can you start discussion there instead?
May 8, 2015 at 2:38 AM
Also, feel free to send PR with suggested fix on GitHub :)