Skip to content

Commit

Permalink
Updating outdated layout file in skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 14, 2012
1 parent b0b36e8 commit 4e1a267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/View/Layouts/rss/default.ctp
Expand Up @@ -11,4 +11,4 @@ echo $this->Rss->document(
array(), $channel, $content_for_layout
)
);
?>
?>
7 changes: 2 additions & 5 deletions 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.