Sha256: 16cb9851f685bdc70c2cb4d9d47a3e69b86fe8390abbceb3337cfe5195b69fa9

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

class FeaturesController < ApplicationController
  unloadable
  
  layout "courgette"
  
  def index
    @feature = Courgette.first
    render "show"
  end
  
  def show
    @feature = Courgette.find(params[:id])
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jnicklas-courgette-0.0.3 app/controllers/features_controller.rb