Skip to content

Commit

Permalink
fix sow controller
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiomagalhaes committed Mar 12, 2024
1 parent 09f51f6 commit af31687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/statement_of_works_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def destroy
private

def set_project
@project = Project.friendly.find(params[:project_id])
@project = Project.friendly.find(params[:project_id]) if params[:project_id]
end

def set_statement_of_work
Expand Down

0 comments on commit af31687

Please sign in to comment.