Changed ruby root to pins#index