Plant a root
This commit is contained in:
parent
2a23fb95cf
commit
d6dbf8acf7
3
app/assets/stylesheets/welcome.scss
Normal file
3
app/assets/stylesheets/welcome.scss
Normal 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/
|
4
app/controllers/welcome_controller.rb
Normal file
4
app/controllers/welcome_controller.rb
Normal file
@ -0,0 +1,4 @@
|
||||
class WelcomeController < ApplicationController
|
||||
def index
|
||||
end
|
||||
end
|
2
app/helpers/welcome_helper.rb
Normal file
2
app/helpers/welcome_helper.rb
Normal file
@ -0,0 +1,2 @@
|
||||
module WelcomeHelper
|
||||
end
|
7
app/views/welcome/index.html.erb
Normal file
7
app/views/welcome/index.html.erb
Normal 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>
|
@ -1,3 +1,4 @@
|
||||
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
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user