Plant a root

This commit is contained in:
Basti 2020-11-07 14:55:07 +01:00
parent 2a23fb95cf
commit d6dbf8acf7
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
5 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,3 @@
// Place all the styles related to the Welcome controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/

View File

@ -0,0 +1,4 @@
class WelcomeController < ApplicationController
def index
end
end

View File

@ -0,0 +1,2 @@
module WelcomeHelper
end

View File

@ -0,0 +1,7 @@
<h1>Kosmos Accounts</h1>
<p>
<%=link_to "Sign up for a new account" %>
</p>
<p>
<%=link_to "Manage your existing account" %>
</p>

View File

@ -1,3 +1,4 @@
Rails.application.routes.draw do Rails.application.routes.draw do
root to: 'welcome#index'
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end end