Added preview helper to home#index