14 lines
278 B
Ruby
14 lines
278 B
Ruby
module Adamantium
|
|
module Views
|
|
module Bookmarks
|
|
class Show < Adamantium::View
|
|
include Deps["repos.post_repo"]
|
|
|
|
expose :bookmark do |slug:|
|
|
Decorators::Bookmarks::Decorator.new(post_repo.fetch!(slug))
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|