diff --git a/Project-Unite/Global.asax.cs b/Project-Unite/Global.asax.cs index 4864165..41208ad 100644 --- a/Project-Unite/Global.asax.cs +++ b/Project-Unite/Global.asax.cs @@ -46,8 +46,7 @@ protected void Application_BeginRequest(object sender, EventArgs e) if(split.Length > 1) { - if (split.Length == 2) - controllername = split[1]; + controllername = split[1]; if (split.Length == 3) actionname = split[2]; }