Devise access customer information without password

I am trying to customize my account with devise. However I do not want
to provide a confirmation password on every details. Therefore I have
created a new controller has mentionned on the following tutorial:
How To: Allow users to edit their account without providing a password · heartcombo/devise Wiki · GitHub.

This seem to work, however i have different sections such has follow

Each section render a new form in Settings/_general.html.erb ( partial
renders ) Here how security looks

<%= form_for(@customer) do |f| %>

<%= f.label :email %>
<%= f.text_field :email %>

<%= f.label :email_confirmation, “Confirm Password” %>
<%= f.text_field :email_confirmation %>

<%= f.submit “Save changes”, class: “button_accept” %>

<% end %>
However when seeing the view at

I get the following errors

NoMethodError in Settings#edit
Showing /home/jean/rail/voyxe/app/views/settings/_email.html.erb where
line #1 raised:
undefined method `customer_path’ for #<#Class:0xb49b1838:0xb49b0244>
Extracted source (around line #1):

1: <%= form_for(@customer) do |f| %>

4: <%= f.label :email %>
I don’t understand where customer_path his from. Also an extra how
should i define a safe and secure path to access
settings/ in the route.rb file.

Thanks in advance!!!