/** * Update the given Instagram Collection * * @param InstagramCollection $instagramCollection * @return void */ public function updateInstagramCollectionAction(InstagramCollection $instagramCollection) { $this->instagramCollectionRepository->update($instagramCollection); $this->addFlashMessage('The Instagram Collection "%s" has been updated.', 'Collection updated', Message::SEVERITY_OK, array($instagramCollection->getTitle()), 1412374498); $this->redirect('index'); }