Removed database access in static_pages_controller

It was looking in the database for your about and tour paths, though they are static elements, so should not need any database access.