に移動するときlocalhost:3000、次の場所に移動したい: localhost:3000/workers。
そこで と に変更public/index.htmlしpublic/index.html.bak、routes.rb次のように定義しました。
devise_for :users do get '/users/sign_out' => 'devise/sessions#destroy' end
resources :tasksadmins
resources :workers
root to: "workers#index"
しかし、うまくいきません。このページlocalhost:3000には、ようこそページが表示されます。
どうすれば修正できますか?どんな助けでも感謝します。