Sha256: 134e6e8d2ac8ab742b1417f0539aa9aaabf92499590304c14729ce2635607ccb

Contents?: true

Size: 163 Bytes

Versions: 2

Compression:

Stored size: 163 Bytes

Contents

module Octodmin::Views::Posts
  class Upload
    include Octodmin::View
    format :json

    def render
      _raw JSON.dump(uploads: [upload])
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octodmin-0.3.5 app/views/posts/upload.rb
octodmin-0.3.4 app/views/posts/upload.rb