summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapp/controllers/javascriptController.php2
-rw-r--r--app/layout/layout.phtml2
-rw-r--r--app/views/helpers/javascript_vars.phtml (renamed from app/views/javascript/main.phtml)0
3 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/javascriptController.php b/app/controllers/javascriptController.php
index 071cf65a4..291474130 100755
--- a/app/controllers/javascriptController.php
+++ b/app/controllers/javascriptController.php
@@ -6,8 +6,6 @@ class javascriptController extends ActionController {
header('Content-type: text/javascript');
}
- public function mainAction () {}
-
public function actualizeAction () {
$feedDAO = new FeedDAO ();
$this->view->feeds = $feedDAO->listFeeds ();
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 192a6d73f..3f427a501 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -12,7 +12,7 @@
<?php echo self::headStyle (); ?>
<?php echo self::headScript (); ?>
<script>//<![CDATA[
-<?php $this->renderHelper ('../javascript/main'); ?>
+<?php $this->renderHelper ('javascript_vars'); ?>
//]]></script>
<?php
$next = isset($this->entryPaginator) ? $this->entryPaginator->next() : '';
diff --git a/app/views/javascript/main.phtml b/app/views/helpers/javascript_vars.phtml
index df552527f..df552527f 100644
--- a/app/views/javascript/main.phtml
+++ b/app/views/helpers/javascript_vars.phtml