Permalink
Browse files

More resume.FolderLocation property corrections

  • Loading branch information...
1 parent 569179d commit 3170c0f276c0d4e8e3bb21cea1e86d2190f2ee99 @raystorm committed Feb 23, 2014
@@ -2,16 +2,14 @@
namespace Tburton\ResumeBundle\Controller;
+use Alchemy\Zippy;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
-
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\SecurityContext;
-use Alchemy\Zippy;
-
-use ZendService\LiveDocx;
use ZendService\LiveDocx\MailMerge;
+use ZendService\LiveDocx;
class AdminController extends Controller
{
@@ -71,7 +69,7 @@ public function AdminAction(Request $request)
* @return string with the relative path to where the Resume files are stored
*/
private function getFolder()
- { return $this->container->getParameter('reaume.FolderLocation'); }
+ { return $this->container->getParameter('resume.FolderLocation'); }
private function handleFileUpload(UploadedFile $uploaded)
{
@@ -19,9 +19,9 @@ public function docxAction() { return $this->getFile('docx'); }
public function htmlAction() { return $this->getFile('html'); }
- public function txtAction() { return $this->getFile('txt'); }
+ public function txtAction() { return $this->getFile('txt'); }
- public function pdfAction() { return $this->getFile('pdf'); }
+ public function pdfAction() { return $this->getFile('pdf'); }
/** Generate a Nice name for the downloaded resumes */
public function buildFileName()

0 comments on commit 3170c0f

Please sign in to comment.