Class: PagesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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

def index
  page = PufferPages::Page.find_page(request.path_info)
  render :puffer_page => page, :content_type => page.content_type
end