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:

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| %>
    <div class="cus">
            <%= f.label :email %>
            <%= f.text_field :email %>
    <div class="customer_edit_confirmation">
            <%= f.label :email_confirmation, "Confirm Password" %>
            <%= f.text_field :email_confirmation %>
    <div class="customer_edit_button">
            <%= 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| %>
2: <fieldset>
3: <div class="cus">
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!!!