config/brakeman.ignore in alchemy_cms-4.6.7 vs config/brakeman.ignore in alchemy_cms-5.0.0.beta1
- old
+ new
@@ -27,10 +27,10 @@
"check_name": "Render",
"message": "Render path contains parameter value",
"file": "app/views/alchemy/admin/contents/create.js.erb",
"line": 1,
"link": "http://brakemanscanner.org/docs/warning_types/dynamic_render_path/",
- "code": "render(action => \"alchemy/essences/#{Content.create(Element.find(params[:content][:element_id]), content_params).essence_partial_name}_editor\", { :content => Content.create(Element.find(params[:content][:element_id]), content_params), :options => options_from_params, :html_options => ((params[:html_options] or {})) })",
+ "code": "render(action => \"alchemy/essences/#{Content.create(Element.find(params[:content][:element_id]), content_params).essence_partial_name}_editor\", { :content => Content.create(Element.find(params[:content][:element_id]), content_params) })",
"render_path": [{"type":"controller","class":"Alchemy::Admin::ContentsController","method":"create","line":21,"file":"app/controllers/alchemy/admin/contents_controller.rb"}],
"location": {
"type": "template",
"template": "alchemy/admin/contents/create"
},