Static pages

This commit is contained in:
Meutel 2015-06-28 10:52:12 +02:00
parent e7aaee9539
commit ead20d3d73
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>BouquinsRor</title> <title><%= @title %> | Bouquins</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>

View File

@ -1,4 +1,8 @@
Rails.application.routes.draw do 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. # The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes". # See how all your routes lay out with "rake routes".