Added Laravel code to index, show, and edit pages