Removed redirect using image.erb instead