mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
- Using $$replacetext$$ in scaffolding templates.
--HG-- branch : dev
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
using System.Web.Mvc;
|
||||
using Orchard.Localization;
|
||||
|
||||
namespace Orchard.<ModuleName>.Controllers {
|
||||
public class <ControllerName> : Controller {
|
||||
namespace Orchard.$$ModuleName$$.Controllers {
|
||||
public class $$ControllerName$$ : Controller {
|
||||
public IOrchardServices Services { get; set; }
|
||||
|
||||
public <ControllerName>(IOrchardServices services) {
|
||||
public $$ControllerName$$(IOrchardServices services) {
|
||||
Services = services;
|
||||
T = NullLocalizer.Instance;
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
name: <ModuleName>
|
||||
name: $$ModuleName$$
|
||||
antiforgery: enabled
|
||||
features:
|
||||
Orchard.<ModuleName>:
|
||||
Description: Description for feature <ModuleName>.
|
||||
Orchard.$$ModuleName$$:
|
||||
Description: Description for feature $$ModuleName$$.
|
Reference in New Issue
Block a user