Skip to content

Commit

Permalink
use job_details_params
Browse files Browse the repository at this point in the history
  • Loading branch information
ashton22305 committed Jul 31, 2024
1 parent 273368b commit 2acbf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/controllers/projects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def destroy

# GET /projects/:project_id/jobs/:cluster/:jobid
def job_details
project = Project.find(params[:project_id])
project = Project.find(job_details_params[:project_id])
cluster_str = job_details_params[:cluster].to_s
cluster = OodAppkit.clusters[cluster_str.to_sym]
render(:status => 404) if cluster.nil?
Expand Down

0 comments on commit 2acbf55

Please sign in to comment.