Class: PagesController

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

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
9
10
# File 'app/controllers/pages_controller.rb', line 7

def show
  @page = @structure.page || Page.new
  respond_with(@page)
end