Sha256: b0c96a3d49b4bcae569d874ed168bf6f45c680aa143e65fcbbc3e68985253a17

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

require_dependency "stylin/application_controller"

module Stylin
  class StyleguidesController < ApplicationController
    def index
    end

    def show
      section_name = Styleguide.desluggify(params[:id])
      @section = styleguide.find(section: section_name)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stylin-0.1.0 app/controllers/stylin/styleguides_controller.rb