class Panel::NewBlog::Widget::PostsController < ObitWidgetController
  # GET /posts
  # GET /posts.xml
  def index
    @posts = Post.all
  end
  
  def latest_post
    @post = Post.all.last
  end

end
