fix projects controller

This commit is contained in:
Stefan Tollkühn
2025-07-22 16:00:35 +02:00
parent 4baed9284e
commit b0dca65841

View File

@@ -69,7 +69,7 @@ class ProjectsController < ApplicationController
# Use callbacks to share common setup or constraints between actions.
def set_project
@project = Project.find(params.expect(:id))
@project = Project.find(params[:id])
end
# Only allow a list of trusted parameters through.