diff --git a/src/Orchard.Web/Modules/Orchard.Roles/Activities/RoleEventActivity.cs b/src/Orchard.Web/Modules/Orchard.Roles/Activities/RoleEventActivity.cs index ed2305343..d48415838 100644 --- a/src/Orchard.Web/Modules/Orchard.Roles/Activities/RoleEventActivity.cs +++ b/src/Orchard.Web/Modules/Orchard.Roles/Activities/RoleEventActivity.cs @@ -1,9 +1,11 @@ using System.Collections.Generic; +using Orchard.Environment.Extensions; using Orchard.Localization; using Orchard.Workflows.Models; using Orchard.Workflows.Services; namespace Orchard.Roles.Activities { + [OrchardFeature("Orchard.Roles.Workflows")] public class RoleEventActivity : Event { public Localizer T { get; set; } diff --git a/src/Orchard.Web/Modules/Orchard.Roles/Events/RoleEventHandler.cs b/src/Orchard.Web/Modules/Orchard.Roles/Events/RoleEventHandler.cs index 86634d9b2..6dd6af0a8 100644 --- a/src/Orchard.Web/Modules/Orchard.Roles/Events/RoleEventHandler.cs +++ b/src/Orchard.Web/Modules/Orchard.Roles/Events/RoleEventHandler.cs @@ -1,7 +1,9 @@ using System.Collections.Generic; +using Orchard.Environment.Extensions; using Orchard.Workflows.Services; namespace Orchard.Roles.Events { + [OrchardFeature("Orchard.Roles.Workflows")] public class RoleEventHandler : IRoleEventHandler { private readonly IWorkflowManager _workflowManager;