mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-16 02:56:31 +08:00
19 lines
603 B
C#
19 lines
603 B
C#
using System.Web.Mvc;
|
|
using Orchard.DisplayManagement.Descriptors;
|
|
using Orchard.Themes;
|
|
using Orchard.UI.Admin;
|
|
|
|
namespace Orchard.Experimental.Controllers {
|
|
[Themed, Admin]
|
|
public class ShapeTableController : Controller {
|
|
private readonly IShapeTableManager _shapeTableManager;
|
|
|
|
public ShapeTableController(IShapeTableManager shapeTableManager) {
|
|
_shapeTableManager = shapeTableManager;
|
|
}
|
|
|
|
public ActionResult ShapeTable(string themeName) {
|
|
return View(_shapeTableManager.GetShapeTable(themeName));
|
|
}
|
|
}
|
|
} |