C# Class SSLGhost.Helpers.Html

Datei anzeigen Open project: primaryobjects/SSL-Ghost

Public Methods

Method Description
GetHttpOrHttps ( this helper ) : string

Determines whether to enable HTTP or HTTPS links. This method is used on views with sensitive forms, to allow disabling HTTPS for development by changing their URL and disabling the RequireHttpsByConfig attribute.

Method Details

GetHttpOrHttps() public static method

Determines whether to enable HTTP or HTTPS links. This method is used on views with sensitive forms, to allow disabling HTTPS for development by changing their URL and disabling the RequireHttpsByConfig attribute.
public static GetHttpOrHttps ( this helper ) : string
helper this
return string