Files
adamantium/slices/main/views/bookmarks/show.rb
2024-02-21 21:48:44 +11:00

14 lines
266 B
Ruby

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