From e3c45c4acd0ac004def2ffc177e91cae20c0b711 Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 23 Jun 2014 02:53:32 +0200 Subject: [PATCH] rename index to home --- app/assets/stylesheets/style.css.scss | 5 ++++ app/controllers/statics_controller.rb | 2 +- app/views/layouts/_head.html.erb | 2 +- app/views/statics/home.html.erb | 33 +++++++++++++++++++++++++++ app/views/statics/index.html.erb | 24 ------------------- config/routes.rb | 7 +++--- 6 files changed, 44 insertions(+), 29 deletions(-) create mode 100644 app/views/statics/home.html.erb delete mode 100644 app/views/statics/index.html.erb diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 98f87c8..e6bf21f 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -177,6 +177,11 @@ a { p { font-size: 16px; + + span { + // used to control eventual line breaks a bit + display: inline-block; + } } img { diff --git a/app/controllers/statics_controller.rb b/app/controllers/statics_controller.rb index 8afed77..f211319 100644 --- a/app/controllers/statics_controller.rb +++ b/app/controllers/statics_controller.rb @@ -1,6 +1,6 @@ class StaticsController < ApplicationController - def index + def home end def donate diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 5e64030..8654399 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -3,7 +3,7 @@ <%= link_to "", root_path, id: "logo" %>