Class: AnnotatorStore::PagesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- AnnotatorStore::PagesController
- Defined in:
- app/controllers/annotator_store/pages_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 |
# File 'app/controllers/annotator_store/pages_controller.rb', line 5 def index end |
#search ⇒ Object
8 9 10 11 |
# File 'app/controllers/annotator_store/pages_controller.rb', line 8 def search @annotations = AnnotatorStore::Annotation.where(search_params) @total = @annotations.size end |