0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ruby on Rails チュートリアル 17日目

Last updated at Posted at 2020-04-29

17日目

今回は11章の11.3.2 editアクションで有効化まで進んだところでつまずきました。
下のURLを開くと

https://505f3862405346e5a7106eb59e6fbcbc.vfs.cloud9.ap-northeast-1.amazonaws.com/account_activations/

スクリーンショット 2020-04-29 12.31.49.png

この様になっていました。
routingを確認しても

/sample_app/config/routes.rb

Rails.application.routes.draw do
  root   'static_pages#home'
  get    '/help',    to: 'static_pages#help'
  get    '/about',   to: 'static_pages#about'
  get    '/contact', to: 'static_pages#contact'
  get    '/signup',  to: 'users#new'
  get    '/login',   to: 'sessions#new'
  post   '/login',   to: 'sessions#create'
  delete '/logout',  to: 'sessions#destroy'
  resources :users
  resources :account_activations, only: [:edit]
end

これには何の問題もないように思えます。
解決方法を知りたいです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?