added delete function to board page for each picture using ruby instead of angular