mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
added tests for basic config set/get to db
This commit is contained in:
parent
1620721efe
commit
772452aa8b
13 changed files with 5874 additions and 13 deletions
|
@ -21,7 +21,7 @@ namespace NzbDrone.Web.Controllers
|
|||
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View(new SettingsModel() { RootPath = _configController.SeriesRoot });
|
||||
return View(new SettingsModel() { TvFolder = _configController.SeriesRoot });
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
|
@ -29,7 +29,7 @@ namespace NzbDrone.Web.Controllers
|
|||
{
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
_configController.SeriesRoot = model.RootPath;
|
||||
_configController.SeriesRoot = model.TvFolder;
|
||||
}
|
||||
|
||||
return RedirectToAction("index");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue