diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb new file mode 100644 index 00000000..f6ad06be --- /dev/null +++ b/app/controllers/static_pages_controller.rb @@ -0,0 +1,4 @@ +class StaticPagesController < ApplicationController + def home + end +end \ No newline at end of file diff --git a/app/views/static_pages/home.html.erb b/app/views/static_pages/home.html.erb new file mode 100644 index 00000000..741e018b --- /dev/null +++ b/app/views/static_pages/home.html.erb @@ -0,0 +1,3 @@ +
This is the home page of the website Astuto.
\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index e37e1b5e..e977ab89 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,4 @@ Rails.application.routes.draw do + root to: 'static_pages#home' devise_for :users end