Sha256: bd9423b2ef5030490466bdf116fa654968b8bb2c9e40cbf1a572bd9c0aadc7da

Contents?: true

Size: 158 Bytes

Versions: 4

Compression:

Stored size: 158 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
octodmin-0.3.3 app/views/posts/upload.rb
octodmin-0.3.2 app/views/posts/upload.rb
octodmin-0.3.1 app/views/posts/upload.rb
octodmin-0.3.0 app/views/posts/upload.rb