Sha256: cd5b8cb52ae81c7e9add77d0fa190d2d00b0cf7ae1f5df9243b2f3e835f3ef77

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

class SampleObjectsController < ApplicationController

  def index
    @collection = SampleObject.all
    render text: "Hello World"
  end

  def show
    @instance = SampleObject.find(params[:id])
    render text: "Hello World"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
delegated_presenter-1.1.2 spec/dummy/app/controllers/sample_objects_controller.rb