Sha256: 7e5dd3f63008290b1a375b98cb4a4f7105b8dcad68077195e616b4895c3efd24

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

require_dependency 'attorney/application_controller'

module Attorney
  class DocumentsController < ApplicationController
    layout Attorney.application_layout

    def show
      @document = Document.published.find_by_slug!(params[:slug])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
attorney-1.0.0 app/controllers/attorney/documents_controller.rb