diaspora/app/controllers/apps_controller.rb
2011-10-03 15:23:11 -07:00

10 lines
332 B
Ruby

class AppsController < ApplicationController
def show
@app = 'cubbies'
max_time = params[:max_time] ? Time.at(params[:max_time].to_i) : Time.now
@posts = ActivityStreams::Photo.where(:public => true).for_a_stream(max_time, 'created_at')
@commenting_disabled = true
@people = []
@people_count = 0
end
end