Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Undefined method `states_url' #66

Open
ronzalo opened this issue Feb 19, 2014 · 1 comment
Open

Undefined method `states_url' #66

ronzalo opened this issue Feb 19, 2014 · 1 comment

Comments

@ronzalo
Copy link

ronzalo commented Feb 19, 2014

When visited http://localhost:3000/addresses/new, have this error:

NoMethodError at /addresses/new undefined method `states_url'

<% content_for :head do %>
<%= javascript_include_tag states_url(:format => :js) %>
<%= javascript_include_tag countries_url(:format => :js) %>
<% end %>

@coorasse
Copy link

Same problem here.
I solved temporarly moving the view in my app and replacing states_url and coutries_url with api_states_url and api_countries_url

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants