app/controllers/accounts_controller.rb
# Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .
def account_params
      params.require(:account).permit(:name, :cname, :title,
                                      solr_endpoint_attributes: [:id, :url],
                                      fcrepo_endpoint_attributes: [:id, :url, :base_path])
    end
def account_params params . require ( :account ) . permit ( :name , :cname , :title , solr_endpoint_attributes : [ :id , :url ] , fcrepo_endpoint_attributes : [ :id , :url , :base_path ] ) end
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .