Commit ddd97f3c authored by Keifer Furzland's avatar Keifer Furzland

Update wikis_controller.rb to use strong params

parent f7d69a74
......@@ -124,6 +124,6 @@ class Projects::WikisController < Projects::ApplicationController
end
def wiki_params
params[:wiki].slice(:title, :content, :format, :message)
params.require(:wiki).permit(:title, :content, :format, :message)
end
end
---
title: Update wikis_controller.rb to use strong params
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment