Combine version partials into one file

This commit is contained in:
BrokenEagle
2020-01-03 20:30:06 +00:00
parent 89df0a6ace
commit be92282990
15 changed files with 52 additions and 143 deletions

View File

@@ -1,5 +1,5 @@
module PostVersionsHelper
def post_version_listing
def post_versions_listing_type
params.dig(:search, :post_id).present? ? :revert : :standard
end