From f6f186de7144bfbddc508e1330f334d3ee7f2005 Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 12 Jun 2018 10:30:14 +0200 Subject: adjust link;add logo route --- application.rb | 3 +++ views/layout.haml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/application.rb b/application.rb index 04e5352..8d0429f 100644 --- a/application.rb +++ b/application.rb @@ -298,3 +298,6 @@ get '/style.css' do scss :style end +get '/IST_logo_s.png' do + redirect to('/images/IST_logo_s.png') +end diff --git a/views/layout.haml b/views/layout.haml index 9b13e2f..2558071 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -24,7 +24,7 @@ %header.page-header %div.row %div.col-md-3 - %a{:href=> to("/predict")} + %a{:href=> to("/")} %img.media-object{:src=>"/images/IST_logo_s.png", :alt=>"logo", :width=>"150px", :heigth=>"150px"} %div.col-md-6 %h1.media-heading -- cgit v1.2.3