* Reworked how post versioning works, now more closely resembles the 1.18 strategy
This commit is contained in:
6
app/controllers/post_versions_controller.rb
Normal file
6
app/controllers/post_versions_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class PostVersionsController < ApplicationController
|
||||
def index
|
||||
@search = PostVersion.search(params[:search])
|
||||
@post_versions = @search.paginate(:page => params[:page], :per_page => 20, :order => "updated_at DESC")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user