diff options
author | Sebastian Klier <sebastian@sebastianklier.com> | 2016-02-28 15:26:52 +0800 |
---|---|---|
committer | Sebastian Klier <sebastian@sebastianklier.com> | 2016-04-20 08:25:40 +0800 |
commit | 54661d3d44a7d98ed52680b074b2caed7aa33676 (patch) | |
tree | b55ca87853bebdd44e8039b04f959a6d07f5213d /app/models/wiki_page.rb | |
parent | 9617c274ab301e4d2401b2d9a179f40649259d3c (diff) | |
download | gitlab-ce-54661d3d44a7d98ed52680b074b2caed7aa33676.tar.gz |
add slack notifications for wiki pages
update changelog
Diffstat (limited to 'app/models/wiki_page.rb')
-rw-r--r-- | app/models/wiki_page.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 526760779a4..3d5fd9d3ee9 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -29,6 +29,10 @@ class WikiPage # new Page values before writing to the Gollum repository. attr_accessor :attributes + def hook_attrs + attributes + end + def initialize(wiki, page = nil, persisted = false) @wiki = wiki @page = page |