fixed issue where rails generator created references to 'pins' where references should have been 'pin';
fixed route issue where pins_index_path was being called instead of just pins_path