Strip file extensions from links in views/layout.erb