Add last location to home page

This commit is contained in:
2023-02-25 17:04:54 +11:00
parent 62e518673a
commit 1a83557468
6 changed files with 38 additions and 5 deletions

View File

@@ -21,6 +21,10 @@ module Adamantium
Decorators::Posts::Decorator.new(post)
end
end
expose :last_location do
Decorators::Posts::Decorator.new(post_repo.last_location)
end
end
end
end