Sha256: 234d003f68a244f85ffafd898b0ca60b624ceac24899598efbcf69f8c4fc451f

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

Rails.application.routes.draw do
  namespace(:formstrap) do
    get "media", to: "media#index", as: :media
    post "media", to: "media#create", as: :new_media
    get "media/:id", to: "media#show", as: :media_item
    patch "media/:id", to: "media#update"
    get "media/thumbnail/:id", to: "media#thumbnail", as: :media_item_thumbnail
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formstrap-0.1.3 config/routes.rb
formstrap-0.1.2 config/routes.rb
formstrap-0.1.1 config/routes.rb
formstrap-0.1.0 config/routes.rb