cloud9でrailsをしていたのですが、
No route matches [GET] "/about"を吐き出します。なぜでしょう?
route.rb
1Rails.application.routes.draw do 2 get '/' => "home#top" 3 get 'about' => "home#about" 4 5end 6
home.controller
1class HomeController < ApplicationController 2 def top 3 end 4 5 def about 6 end 7 8end
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。