Sha256: f63122bff7cbe5ab60fde39658e7cf437a92da9c322bf29165474c3f4421575e

Contents?: true

Size: 162 Bytes

Versions: 5

Compression:

Stored size: 162 Bytes

Contents

class PagesController < ApplicationController
  respond_to :html, :json
  
  def show
    @page = Page.find( params[:id] )
    respond_with( @page )
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
engrave-1.0.0 app/controllers/pages_controller.rb
engrave-0.0.5 app/controllers/pages_controller.rb
engrave-0.0.4 app/controllers/pages_controller.rb
engrave-0.0.3 app/controllers/pages_controller.rb
engrave-0.0.2 app/controllers/pages_controller.rb