Add index links and use gon in controller