Class: Hyrax::PagesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Hyrax::PagesController
- Defined in:
- app/controllers/hyrax/pages_controller.rb
Overview
Shows the about and help page
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
8 9 10 |
# File 'app/controllers/hyrax/pages_controller.rb', line 8 def show @page = ContentBlock.find_or_create_by(name: params[:id]) end |