This commit is contained in:
tidusjar 2016-08-09 14:03:48 +01:00
parent d843ab0ebb
commit 632ce75fa0
7 changed files with 84 additions and 22 deletions

View file

@ -42,7 +42,7 @@ namespace PlexRequests.UI.Modules
public abstract class BaseModule : NancyModule
{
protected string BaseUrl { get; set; }
protected BaseModule(ISettingsService<PlexRequestSettings> settingsService)
{
@ -66,7 +66,7 @@ namespace PlexRequests.UI.Modules
BaseUrl = baseUrl;
var settingModulePath = string.IsNullOrEmpty(baseUrl) ? modulePath : $"{baseUrl}/{modulePath}";
ModulePath = settingModulePath;
Before += (ctx) =>