/login
したがって、サインイン ルートを(*/users/sign_in* ではなく)に変更したいと考えています。
私は周りを検索し、Devise Wikiで手順を見つけました。しかし、私はレールに少し慣れていないので、手順に従うだけでは役に立ちませんでした。
私のroutes.rbは以下です:
resources :categories
root :to => "listings#index"
get "user/show"
resources :listings
get "flatuipro_demo/index"
devise_for :users, :controllers => { :registration => "registration",
:omniauth_callbacks => "users/omniauth_callbacks" }
get 'users/:id' => 'user#show', as: :user
resources :messages, only: [:index, :create, :new] do
member do
get :inbox
get :sent
end
end