I'm new to Rails. With rails running, opening localhost:3000 takes me to default "welcome aboard" page.
Rake routes command puts out a message that I don't have any routes defined, but I didn't change anything in config/routes.rb.
I tried to download back my github repository, but the problem persists. Any idea, please?
@MarcinAdamczyk, @RichPeck. I should say that localhost did work before. this is what I have:
1) Pinteresting::Application.routes.draw do resources :pins
devise_for :users
devise_for :installs
root "pages#home"
get "about" => "pages#about"
2) class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception end
def home end
3) class PagesController < ApplicationController def home end
def about
end end