Class: Geri::PagesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Geri::PagesController
- Defined in:
- app/controllers/geri/pages_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/geri/pages_controller.rb', line 5 def show page = Page.find(params[:path]) = page. render(file: page.file, layout: 'layout.html.erb', locals: {foo: 'bar'}) end |