diaspora/app/controllers/dashboard_controller.rb

15 lines
276 B
Ruby

class DashboardController < ApplicationController
before_filter :authenticate_user!, :except => :receive
include ApplicationHelper
def index
@posts = Post.stream
end
def receive
store_posts_from_xml (params[:xml])
render :nothing => true
end
end