Files
adamantium/app/views/bookmarks/show.rb
2023-05-17 20:12:07 +10:00

14 lines
266 B
Ruby

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