Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating outdated layout file in skeleton

  • Loading branch information...
commit 4e1a2670dac05955fa498ad250de095c184b4830 1 parent b0b36e8
ADmad ADmad authored
2  app/View/Layouts/rss/default.ctp
View
@@ -11,4 +11,4 @@ echo $this->Rss->document(
array(), $channel, $content_for_layout
)
);
-?>
+?>
7 lib/Cake/Console/Templates/skel/View/Layouts/rss/default.ctp
View
@@ -1,6 +1,4 @@
<?php
-echo $rss->header();
-
if (!isset($channel)) {
$channel = array();
}
@@ -8,10 +6,9 @@ if (!isset($channel['title'])) {
$channel['title'] = $title_for_layout;
}
-echo $rss->document(
- $rss->channel(
+echo $this->Rss->document(
+ $this->Rss->channel(
array(), $channel, $content_for_layout
)
);
-
?>
Please sign in to comment.
Something went wrong with that request. Please try again.