title: NoMethodError for new controller in Rails
body: <p><strong>Cities#new</strong> controller shows error involving <em>cities_path</em>, but I don't have it in any file nor in <em>CitiesController</em>. I checked all files, tried to restart the server but still nothing.</p>
  
  <pre><code>undefined method `cities_path' for #&lt;#&lt;Class:0x007f9e4c1cb348&gt;:0x00000003836140&gt;
  Did you mean?  city_path
  </code></pre>
  
  <p><strong>CitiesController</strong></p>
  
  <pre><code>class CitiesController &lt; ApplicationController
  
      def index
          @cities = City.all
      end
  
      def show
          find_city
      end
  
      def new
          @city = City.new
      end
  
      def edit
          find_city
      end
  
      def update
          find_city
  
          if @city.save
              redirect_to city_path(@city)
          else
              render "edit"
          end
      end
  
      def create
          @city = City.new(city_params)
  
          if @city.save
              redirect_to index_path
          else
              render "new"
          end
      end
  
      private
  
      def find_city
          @city = City.find(params[:id])
      end
  
      def city_params
          params.require(:city).permit(:name, :icon_url)
      end
  
  end
  </code></pre>
  
  <p><strong>Routes</strong></p>
  
  <pre><code>  get "/cities/new" =&gt;  "cities#new", as: "new_city"
    post "/index" =&gt; "cities#create"
    get "/cities/:id" =&gt; "cities#show", as: "city"
    get "/cities/:id/edit" =&gt; "cities#edit", as: "edit_city"
    patch "/city/:id" =&gt; "cities#update"
  </code></pre>
  
  <p><strong>Form</strong> (error is raised on first line)</p>
  
  <pre><code>&lt;%= form_for @city do |f| %&gt;
  
      &lt;% if @city.errors.any? %&gt;
          &lt;div class="errors"&gt;
              &lt;ul&gt;
                  &lt;% city.errors.full_messages.each do |msg| %&gt;
                      &lt;li&gt;&lt;%= msg %&gt;&lt;/li&gt;
                  &lt;% end %&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;% end %&gt;
  
      &lt;%= f.label "Name:" %&gt;
      &lt;%= f.text_field :name, class: "form-control" %&gt;
  
      &lt;%= f.label "Icon:" %&gt;
      &lt;%= f.text_field :icon_url, class: "form-control" %&gt;
  
      &lt;%= f.submit "Pošalji" %&gt;
  
  &lt;% end %&gt;
  </code></pre>