Skip to content

Commit cfa5f9e

Browse files
committed
tidying allowed params for school project controller
1 parent fb4832b commit cfa5f9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/school_projects_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def school_project
8282
end
8383

8484
def school_project_params
85-
params.permit(:finished, :status)
85+
params.permit(:finished)
8686
end
8787
end
8888
end

0 commit comments

Comments
 (0)