/**
  * Create a new InstagramCollection
  *
  * @param InstagramCollection $instagramCollection
  * @return void
  */
 public function createInstagramCollectionAction(InstagramCollection $instagramCollection)
 {
     if ($this->persistenceManager->isNewObject($instagramCollection)) {
         $this->instagramCollectionRepository->add($instagramCollection);
     }
     $this->addFlashMessage(sprintf('InstagramCollection "%s" has been added.', htmlspecialchars($instagramCollection->getTitle())));
     $this->redirect('index', null, null, array(), 0, 201);
 }