From edc252ae2f27a8f9b629eb7a52e7a062b3c77d30 Mon Sep 17 00:00:00 2001 From: OSA Shunsuke Date: Sun, 3 Feb 2019 23:38:15 +0900 Subject: [PATCH] Add blank logo page --- app/controllers/logos_controller.rb | 7 +++++++ app/views/logos/index.html.haml | 0 config/routes.rb | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 app/controllers/logos_controller.rb create mode 100644 app/views/logos/index.html.haml diff --git a/app/controllers/logos_controller.rb b/app/controllers/logos_controller.rb new file mode 100644 index 0000000..fabf26f --- /dev/null +++ b/app/controllers/logos_controller.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class LogosController < ApplicationController + def index + @page_title = "Logos" + end +end diff --git a/app/views/logos/index.html.haml b/app/views/logos/index.html.haml new file mode 100644 index 0000000..e69de29 diff --git a/config/routes.rb b/config/routes.rb index 67464fb..a7a79e5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,6 +4,8 @@ get "/events", to: "events#index" get "/events/:slug", to: "events#show", as: "event" + get "/logos", to: "logos#index" + get "/sitemap", to: "sitemaps#index" #