Sha256: 4e498b171c5d30bf64b7edac90faaa7273d2c888518c681c8533dab8024fa7ee

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

class PeopleController < ActionController::Base
  respond_to :xml, :pdf

  def index
    @people = Person.all
    
    @parameter_defined_in_the_controller = "I'm a parameter. I was defined in the controller"
    
    respond_with @people
  end

  def compile_time_error_report    
    respond_with []
  end
  
  def runtime_error_report    
    respond_with []
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jasper-rails-1.0.1 spec/internal/app/controllers/people_controller.rb