16 lines
303 B
Ruby
16 lines
303 B
Ruby
module Main
|
|
module Views
|
|
module Statuses
|
|
class Index < Main::View
|
|
include Deps["repos.post_repo"]
|
|
|
|
expose :posts do
|
|
post_repo.statuses_listing.map do |post|
|
|
Decorators::Statuses::Decorator.new(post)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|