From 3f4219cf94943d7d12b6b05405bc433e6d6327d1 Mon Sep 17 00:00:00 2001 From: maxwell Date: Thu, 22 Jul 2010 20:19:52 -0700 Subject: [PATCH] added debugging stuff to index page for ostatus stuffs --- app/controllers/dashboards_controller.rb | 1 + app/views/dashboards/index.html.haml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/controllers/dashboards_controller.rb b/app/controllers/dashboards_controller.rb index b04f7b59c..8b4070db8 100644 --- a/app/controllers/dashboards_controller.rb +++ b/app/controllers/dashboards_controller.rb @@ -4,6 +4,7 @@ class DashboardsController < ApplicationController def index @posts = Post.paginate :page => params[:page], :order => 'created_at DESC' + @ostatus = OStatusPost.all end def warzombie diff --git a/app/views/dashboards/index.html.haml b/app/views/dashboards/index.html.haml index 1a9c0d581..28e623010 100644 --- a/app/views/dashboards/index.html.haml +++ b/app/views/dashboards/index.html.haml @@ -3,3 +3,5 @@ = render type_partial(post), :post => post #pagination = will_paginate @posts + +=@ostatus.inspect