Rails.application.routes.draw do

  resources :users
  scope '/:locale', :locale => /de|fr|it|en/, :format => /json|html|csv/ do
    resources :words
    get 'export', to: 'words#export', as: :words_export


    resources :categories

    resources :users



  end

  root :to => 'infos#home'
end

Rails.application.routes.draw do

  scope '/:locale', :locale => /de|fr|it|en/, :format => /json|html|csv/ do

    resources :words
    get 'export', to: 'words#export', as: :words_export

    resources :categories

    resources :users



  end

  root :to => 'infos#home'
end

Delete first 'resources :users' There was another one at the right place (below scope)
Delete first 'resources :users'
There was another one at the right place (below scope)
