Change Skin -> Theme
To better align with commonly used terminology in industry renamed all references from Skin -> Theme.
This commit is contained in:
@ -6,20 +6,20 @@ using Oqtane.Models;
|
||||
namespace Oqtane.Controllers
|
||||
{
|
||||
[Route("{site}/api/[controller]")]
|
||||
public class SkinController : Controller
|
||||
public class ThemeController : Controller
|
||||
{
|
||||
private readonly ISkinRepository skins;
|
||||
private readonly IThemeRepository themes;
|
||||
|
||||
public SkinController(ISkinRepository Skins)
|
||||
public ThemeController(IThemeRepository Themes)
|
||||
{
|
||||
skins = Skins;
|
||||
themes = Themes;
|
||||
}
|
||||
|
||||
// GET: api/<controller>
|
||||
[HttpGet]
|
||||
public IEnumerable<Skin> Get()
|
||||
public IEnumerable<Theme> Get()
|
||||
{
|
||||
return skins.GetSkins();
|
||||
return themes.GetThemes();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user