Refactor application.html.erb with partials