Seeing your routes, try root_path or articles_path.
> On Jul 10, 2017, at 3:36 PM, Ralph Shnelvar wrote:
>
> I am porting some Rails 4 code to Rails 5 and I hit the following problem
> when using Rspec: articles_index_path is undefined.
>
> routes.rb
> Rails.application.routes.draw do
> d
Title: What generates articles_index_path ?
I am porting some Rails 4 code to Rails 5 and I hit the following problem when using Rspec: articles_index_path is undefined.
routes.rb
Rails.application.routes.draw do
devise_for :users
root 'static_pages#root'
resources :users
resources :
2 matches
Mail list logo