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