From 2a8b3000c908f5fea56675a6aae05876c54028df Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sun, 26 Apr 2015 14:05:02 +0100 Subject: [PATCH] Rename view for least surprise --- app.rb | 2 +- views/{home.haml => index.haml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename views/{home.haml => index.haml} (100%) diff --git a/app.rb b/app.rb index c518a05..e502fa1 100644 --- a/app.rb +++ b/app.rb @@ -28,7 +28,7 @@ get '/' do @payments_count = Payment.count @suppliers_count = Supplier.count @services_count = Service.count - haml :home + haml :index end get '/directorates/:slug' do diff --git a/views/home.haml b/views/index.haml similarity index 100% rename from views/home.haml rename to views/index.haml