Browse Source

Rename view for least surprise

master
Adrian Short 9 years ago
parent
commit
2a8b3000c9
2 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app.rb
  2. +0
    -0
      views/index.haml

+ 1
- 1
app.rb View File

@@ -28,7 +28,7 @@ get '/' do
@payments_count = Payment.count @payments_count = Payment.count
@suppliers_count = Supplier.count @suppliers_count = Supplier.count
@services_count = Service.count @services_count = Service.count
haml :home
haml :index
end end


get '/directorates/:slug' do get '/directorates/:slug' do


views/home.haml → views/index.haml View File


Loading…
Cancel
Save