Adds index to controller

@liammccartney 

Adds snippets#index action--only change on branch as per request