Add a mock home page

This commit is contained in:
riggraz
2019-08-19 17:41:47 +02:00
parent 7f2f536027
commit 7cae9d68c1
3 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
class StaticPagesController < ApplicationController
def home
end
end

View File

@@ -0,0 +1,3 @@
<h2>Home</h2>
<p>This is the home page of the website Astuto.</p>

View File

@@ -1,3 +1,4 @@
Rails.application.routes.draw do
root to: 'static_pages#home'
devise_for :users
end