Sha256: eb8eda3e51792ed4b90ebe8170fe5f74a2d57bb97400b8c549fedeee06c61aef

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

class PagesController < ApplicationController
  unloadable

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puffer_pages-0.5.1 app/controllers/pages_controller.rb
puffer_pages-0.5.0 app/controllers/pages_controller.rb