Sha256: 0e1d4295330f2ca76e863cd1ed3aa17a1ad03287b136d643639655b10c8550d0

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

class DocumentsController < ApplicationController
  def show
    document = Document.find(params[:id])

    render :show, locals: { document: document }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
magicka-1.1.0 spec/dummy/app/controllers/documents_controller.rb