Inits the workflow configuration

This commit is contained in:
Paul Schneider
2024-02-25 18:05:10 +00:00
parent 70d24e17d8
commit 834866663a
286 changed files with 33661 additions and 64633 deletions

View File

@ -33,7 +33,7 @@ namespace Yavsc.Controllers
return NotFound();
}
*/
var info = Startup.GitOptions.FileProvider.GetFileInfo(path);
var info = Config.GitOptions.FileProvider.GetFileInfo(path);
if (!info.Exists)
return NotFound();
var stream = info.CreateReadStream();

View File

@ -16,11 +16,11 @@ namespace Yavsc.Controllers
public class ProjectController : Controller
{
private readonly ApplicationDbContext _context;
readonly IStringLocalizer<Yavsc.YavscLocalisation> _localizer;
readonly IStringLocalizer<Yavsc.YavscLocalization> _localizer;
readonly IStringLocalizer<BugController> _bugLocalizer;
public ProjectController(ApplicationDbContext context,
IStringLocalizer<Yavsc.YavscLocalisation> localizer,
IStringLocalizer<Yavsc.YavscLocalization> localizer,
IStringLocalizer<BugController> bugLocalizer
)
{