Sha256: a6a4c4332017f7c87dc758f1040a4b02e2140a858188762c2d267c5899ec6b57

Contents?: true

Size: 280 Bytes

Versions: 10

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
headmin-0.6.1 config/routes.rb
headmin-0.6.0 config/routes.rb
headmin-0.5.9 config/routes.rb
headmin-0.5.8 config/routes.rb
headmin-0.5.7 config/routes.rb
headmin-0.5.6 config/routes.rb
headmin-0.5.5 config/routes.rb
headmin-0.5.4 config/routes.rb
headmin-0.5.3 config/routes.rb
headmin-0.5.2 config/routes.rb