Class: BlacksandFront::PagesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- BlacksandFront::PagesController
- Defined in:
- app/controllers/blacksand_front/pages_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'app/controllers/blacksand_front/pages_controller.rb', line 7 def show @page = Blacksand::Page.find params[:id] title: @page.title # render template if @page.template.present? render @page.template.path end end |