proto/themes/default/layouts/default.xhtml in blogaze-0.0.1 vs proto/themes/default/layouts/default.xhtml in blogaze-0.0.2
- old
+ new
@@ -14,10 +14,10 @@
<div id="wrapper">
<header id="header">
<h1><a href="/">#{@settings[:title]}</a></h1>
<nav>
<ul>
- <?r ::Blogaze::Page.filter(:on_menu => 1).all.each do |page| ?>
+ <?r ::Blogaze::Models::Page.filter(:on_menu => 1).all.each do |page| ?>
<li><a href="/#{page.slug}">#{page.title}</a></li>
<?r end ?>
<?r if session[:logged_in] ?>
<?r if @userinfo.group.is_admin ?>
<li><a href="/admin">Admin</a></li>