Class: Village::PagesController

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

Instance Method Summary collapse

Instance Method Details

#showObject



11
12
13
14
# File 'app/controllers/village/pages_controller.rb', line 11

def show
  @resource = Page.find(params[:id])
  render :layout => Village::Config.layout
end