-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rails4 undefined local variable or method map #55
Comments
What version are you using? |
0.5.0 |
That wiki page refers to rails 2 documentation, there's no need to use Rails.application.routes.draw do
# map.filter 'locale'
filter :locale
# ...
end |
Ahh, I missed that @fabn. @bodaonline does this work for you? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi All,
I am new to Rails. I tried to setup routing-filter with basic settings as per seen in the wiki/Localize_filter but go this error when starting the server:
/home/ubuntu/workspace/stuff/config/routes.rb:18:in
block in <top (required)>': undefined local variable or method
map' for #ActionDispatch::Routing::Mapper:0x0000000852e2e0 (NameError)I have this in routes.rb:
I have set up routing.rb, application-controller.rb, environment.rb as per described in the Wiki.
The text was updated successfully, but these errors were encountered: