21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-02 00:40:49 +02:00

Basic homepage

This commit is contained in:
Colin Darie 2018-05-23 11:56:14 +02:00
parent d5eba63bfd
commit 0198e39048
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,3 @@
class PagesController < ApplicationController
def home; end
end

View file

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

View file

@ -0,0 +1 @@
<h1>Welcome Chexpire !</h1>

View file

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

View file

@ -0,0 +1,8 @@
require 'test_helper'
class PagesControllerTest < ActionDispatch::IntegrationTest
test "home loads without error" do
get root_path
assert_response :success
end
end