Class: Hyrax::HomepageController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Hyrax::HomepageController
- Includes:
- Blacklight::AccessControls::Catalog, Blacklight::SearchContext, Blacklight::SearchHelper
- Defined in:
- app/controllers/hyrax/homepage_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'app/controllers/hyrax/homepage_controller.rb', line 13 def index @presenter = presenter_class.new(current_ability, collections) @featured_researcher = ContentBlock.for(:researcher) @marketing_text = ContentBlock.for(:marketing) @featured_work_list = FeaturedWorkList.new @announcement_text = ContentBlock.for(:announcement) recent end |