Permalink
Browse files

Updating outdated layout file in skeleton

  • Loading branch information...
1 parent b0b36e8 commit 4e1a2670dac05955fa498ad250de095c184b4830 @ADmad ADmad committed Apr 14, 2012
View
2 app/View/Layouts/rss/default.ctp
@@ -11,4 +11,4 @@ echo $this->Rss->document(
array(), $channel, $content_for_layout
)
);
-?>
+?>
View
7 lib/Cake/Console/Templates/skel/View/Layouts/rss/default.ctp
@@ -1,17 +1,14 @@
<?php
-echo $rss->header();
-
if (!isset($channel)) {
$channel = array();
}
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
)
);
-
?>

0 comments on commit 4e1a267

Please sign in to comment.