app/controllers/phcscriptcdn/script/licences_controller.rb in phcscriptcdn-7.2.2 vs app/controllers/phcscriptcdn/script/licences_controller.rb in phcscriptcdn-8.1.0

- old
+ new

@@ -56,10 +56,10 @@ @script_licence = Script::Licence.find(params[:id]) end # Whitelists def script_licence_params - params.require(:script_licence).permit(:lcncname, :lcncdescription, :lcncdescript, :lcnccomgpl, :lcncarvlfsf, :lcncarvlosi, :lcncarvlcopyfree, :lcncarvldebian, :lcncarvlfedora, :user_id, :user_name) + params.require(:script_licence).permit(:lcncname, :lcncdescription, :lcncdescript, :lcnccomgpl, :lcncarvlfsf, :lcncarvlosi, :lcncarvlcopyfree, :lcncarvldebian, :lcncarvlfedora, :slug, :user_id, :user_name) end end end