controller: pelican: fix draft path
Change-Id: I8bbc20db4248fd4759fa854d76c83a5e689a0ac9
(cherry picked from commit d43b8ecc34e5331d5284237208667fb011d15fd5)
diff --git a/application/controllers/Pelican.php b/application/controllers/Pelican.php
index 01ca772..daefb17 100644
--- a/application/controllers/Pelican.php
+++ b/application/controllers/Pelican.php
@@ -49,9 +49,9 @@
public function public_draft($file_name = 'index')
{
$file_html = $file_name.'.html';
- if ($this->is_valid_file('views/draft/blog', $file_html))
+ if ($this->is_valid_file('views/blog/draft', $file_html))
{
- $this->load->view('draft/blog/'.$file_html);
+ $this->load->view('blog/draft/'.$file_html);
}
else
{