-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
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 methodmap' for #ActionDispatch::Routing::Mapper:0x0000000852e2e0 (NameError)
I have this in routes.rb:
Rails.application.routes.draw do
map.filter 'locale'
root 'static_pages#home'
resources :categories
resources :users, only: [:index, :show]
resources :items
devise_for :users
get 'users/index'
get 'users/show'
resources :addresses do
collection { post :import }
end
end
I have set up routing.rb, application-controller.rb, environment.rb as per described in the Wiki.
Metadata
Metadata
Assignees
Labels
No labels