Skip to content

Commit

Permalink
do not use strtolower for controller
Browse files Browse the repository at this point in the history
  • Loading branch information
james committed Nov 20, 2014
1 parent 8c0f030 commit 0cfc748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/ImportController.php
Expand Up @@ -198,7 +198,7 @@ public function actionUpload()
{
Throw new Exception('View '.$model->import->importView .' does not exist.');
}
$this->render('//'.strtolower($model->import->controller).'/'.$model->import->importView,
$this->render('//'.$model->import->controller.'/'.$model->import->importView,
array('models'=>$models));
app()->end();
}
Expand Down

0 comments on commit 0cfc748

Please sign in to comment.