app/controllers/proprietor/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,
                                        admin_emails: [],
                                        solr_endpoint_attributes: %i[id url],
                                        fcrepo_endpoint_attributes: %i[id url base_path])
      end
def account_params params . require ( :account ) . permit ( :name , :cname , :title , admin_emails : [ ] , solr_endpoint_attributes : %i[ id url ] , fcrepo_endpoint_attributes : %i[ 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 .