Class: StaticDocs::PagesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/static_docs/pages_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



5
6
7
# File 'app/controllers/static_docs/pages_controller.rb', line 5

def show
  @page = Page.matched(params[:page_path] || '')
end