title: Devise not working since i18n installation
body: <p>my sign-in &amp; sign up pages are no longer working since I installed the i18n translation to my app. 
  (the rest of app was working perfectly in English/Chinse/French until I sign-out)
  I have modified my routes to </p>
  
  <pre><code>Rails.application.routes.draw do
  
    scope "/:locale", locale: /#{I18n.available_locales.join("|")}/ do
      devise_for :users
      resources :users, :only =&gt; [:show, :edit, :update]
      resources :users do
        resources :profile
      end
  
      get 'users/show'
      get 'users/:id' =&gt; 'users#show'
      get 'users', to: 'users#index'
      get 'users/update'
      get 'users/index'
  
      root to: redirect("/%{locale}/posts", status: 302)
    end
    root to: redirect("/#{I18n.default_locale}", status: 302), as: :redirected_root
    get "/*path", to: redirect("/#{I18n.default_locale}/%{path}", status: 302), constraints: {path: /(?!(#{I18n.available_locales.join("|")})\/).*/}, format: false
  </code></pre>
  
  <p>BUt i still have the following error:</p>
  
  <pre><code>ActiveRecord::RecordNotFound in UsersController#show
  Couldn't find User with 'id'=sign_in
  </code></pre>
  
  <p>Is there anything that should be changed for Devise to work ? </p>