lib/views/admin/admin.haml in schnitzelpress-0.0.11 vs lib/views/admin/admin.haml in schnitzelpress-0.0.12

- old
+ new

@@ -2,11 +2,11 @@ %h1 Administration %p You're logged in as #{session[:user]}. %ul.admin %li - %a.green.button{href: '/admin/new'} Create new Post - %a.red.button{href: '/logout'} Logout + %a.green.button{:href => '/admin/new'} Create new Post + %a.red.button{:href => '/logout'} Logout - = partial "admin_post_list", posts: @drafts, title: "Drafts" - = partial "admin_post_list", posts: @posts, title: "Published Posts" - = partial "admin_post_list", posts: @pages, title: "Pages" + = partial "admin_post_list", :posts => @drafts, :title => "Drafts" + = partial "admin_post_list", :posts => @posts, :title => "Published Posts" + = partial "admin_post_list", :posts => @pages, :title => "Pages"