src/MVCContrib/SimplyRestful/SimplyRestfulRouteHandler.cs
/// <summary>Fixes an area prefix for the route url.</summary>
/// <param name="path">The area prefix to fix.</param>
/// <returns>A non null string with leading and trailing /'s stripped</returns>
Fixes an area prefix for the route url.
Fixes an area prefix for the route url .
private static string FixPath(string path)
		{
			if (path == null)
			{
				return "";
			}
			return path.Trim().Trim(new[]{'/'});
		}
private static string FixPath ( string path ) { if ( path == null ) { return " " ; } return path . Trim ( ) . Trim ( new [ ] { ' ' } ) ; }
Fixes an area prefix for the route url.
Fixes an area prefix for the route url .
A non null string with leading and trailing /'s stripped
A non null string with leading and trailing / ' s stripped
path
string
The area prefix to fix.
The area prefix to fix .