update_service.rb « wiki_pages « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
module WikiPages
class UpdateService < WikiPages::BaseService
def execute(page)
if page.update(@params)
execute_hooks(page, 'update')
end
page
end
end
end