Sha256: 36a7799e353ec2dc2209107fc725563c0bdf18250380db02d1066e17e70d3811

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

require_dependency 'undercase/application_controller'

module Undercase
  class PatternsController < ApplicationController
    def index
      @patterns = Pattern.all
    end

    def show
      @category = Undercase::Category.new(params[:category])
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
undercase-0.2.57 app/controllers/undercase/patterns_controller.rb
undercase-0.2.29 app/controllers/undercase/patterns_controller.rb