mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Add a mock home page
This commit is contained in:
4
app/controllers/static_pages_controller.rb
Normal file
4
app/controllers/static_pages_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
class StaticPagesController < ApplicationController
|
||||||
|
def home
|
||||||
|
end
|
||||||
|
end
|
||||||
3
app/views/static_pages/home.html.erb
Normal file
3
app/views/static_pages/home.html.erb
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<h2>Home</h2>
|
||||||
|
|
||||||
|
<p>This is the home page of the website Astuto.</p>
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
|
root to: 'static_pages#home'
|
||||||
devise_for :users
|
devise_for :users
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user