diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-03 14:15:35 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-03 14:15:35 -0400 |
| commit | 08d9004d8f361aaf13756cab70fc659e5fbb775c (patch) | |
| tree | 1f96203035f37c4f35d7819edb2f50d15fea80f7 /MediaBrowser.ServerApplication/App.xaml.cs | |
| parent | 59118a2ddbf31973873eef42ef18182300fe9a0c (diff) | |
a little more kernel consolidation
Diffstat (limited to 'MediaBrowser.ServerApplication/App.xaml.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/App.xaml.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/App.xaml.cs b/MediaBrowser.ServerApplication/App.xaml.cs index 5a1d7505c..260081416 100644 --- a/MediaBrowser.ServerApplication/App.xaml.cs +++ b/MediaBrowser.ServerApplication/App.xaml.cs @@ -226,10 +226,13 @@ namespace MediaBrowser.ServerApplication /// Opens the dashboard page. /// </summary> /// <param name="page">The page.</param> - public static void OpenDashboardPage(string page, User loggedInUser, IServerConfigurationManager configurationManager) + /// <param name="loggedInUser">The logged in user.</param> + /// <param name="configurationManager">The configuration manager.</param> + /// <param name="appHost">The app host.</param> + public static void OpenDashboardPage(string page, User loggedInUser, IServerConfigurationManager configurationManager, IServerApplicationHost appHost) { var url = "http://localhost:" + configurationManager.Configuration.HttpServerPortNumber + "/" + - Kernel.Instance.WebApplicationName + "/dashboard/" + page; + appHost.WebApplicationName + "/dashboard/" + page; OpenUrl(url); } |
