use rail helpers in galleries index