Skip to content

Commit

Permalink
Remove comments that use outdated language (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja authored Aug 28, 2024
1 parent 8834fb3 commit 6974e4d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/controllers/countries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def set_country
@country = Country.find(params[:id])
end

# Never trust parameters from the scary internet, only allow the white list through.
def country_params
params.require(:country).permit(:name, :key_term_id)
end
Expand Down
1 change: 0 additions & 1 deletion app/controllers/data_files_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def set_data_file
@data_file = DataFile.find(params[:id])
end

# Never trust parameters from the scary internet, only allow the white list through.
def data_file_params
params.require(:data_file).permit(:legacy_id, :files, :size, :comp_size, :line_count, :line_length, :part, :file_type_a, :file_type_b, :flag_one, :flag_two, :file_type_a, :file_type_tech, :note, :study_num, :permission, :timestamp, :study_id)
end
Expand Down
1 change: 0 additions & 1 deletion app/controllers/regions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def set_region
@region = Region.find(params[:id])
end

# Never trust parameters from the scary internet, only allow the white list through.
def region_params
params.require(:region).permit(:name, :key_term_id)
end
Expand Down
1 change: 0 additions & 1 deletion app/controllers/resources_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def set_resource
@resource = Resource.find(params[:id])
end

# Never trust parameters from the scary internet, only allow the white list through.
def resource_params
resource_params = params.require(:resource).permit(:name, :resource_id, :url, :blurb,
:link_time, :sample, :principal_investigator,
Expand Down
1 change: 0 additions & 1 deletion app/controllers/subjects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def set_subject
@subject = Subject.find(params[:id])
end

# Never trust parameters from the scary internet, only allow the white list through.
def subject_params
params.require(:subject).permit(:name, :key_term_id)
end
Expand Down

0 comments on commit 6974e4d

Please sign in to comment.