diff options
Diffstat (limited to 'app/models/hooks/project_hook.rb')
-rw-r--r-- | app/models/hooks/project_hook.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/hooks/project_hook.rb b/app/models/hooks/project_hook.rb index 65e3eaf31e7..9ae697b9e59 100644 --- a/app/models/hooks/project_hook.rb +++ b/app/models/hooks/project_hook.rb @@ -18,6 +18,10 @@ class ProjectHook < WebHook belongs_to :project validates :project, presence: true + + def pluralized_name + _('Project Hooks') + end end ProjectHook.prepend_if_ee('EE::ProjectHook') |