You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
358 B

class Document::DoctrinesController < ApplicationController
include AnnotationSearch
load_and_authorize_resource :document, class: "Cdao::Jurisprudence"
load_and_authorize_resource :doctrine, class: "Doctrine", through: :document
def show
search = annotation_search(params.permit(:page, :per_page))
@annotations = search.results
end
end