From ead20d3d73fea54b6e2214a70f844fc2e964f6e7 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 28 Jun 2015 10:52:12 +0200 Subject: [PATCH] Static pages --- app/views/layouts/application.html.erb | 2 +- config/routes.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 9744a43..41d98b6 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - BouquinsRor + <%= @title %> | Bouquins <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> diff --git a/config/routes.rb b/config/routes.rb index 3f66539..e056630 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,8 @@ Rails.application.routes.draw do + get 'static_pages/home' + + get 'static_pages/about' + # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes".