Sha256: 2d3c74667a05a73290cc90778e09c15ac30099ad9db6c989d40af43b3d3c77b3

Contents?: true

Size: 444 Bytes

Versions: 11

Compression:

Stored size: 444 Bytes

Contents

Rails.application.routes.draw do
  namespace :foreman_xen do
    match 'snapshots/:id', :to => 'snapshots#show', :via => 'get'
    match 'snapshots/:id/revert/:ref', :to => 'snapshots#revert', :via => 'get'
    match 'snapshots/:id/new', :to => 'snapshots#new', :via => 'get'
    match 'snapshots/:id/delete/:ref', :to => 'snapshots#destroy', :via => 'get'

    match 'snapshots/:id/create', :to => 'snapshots#create', :via => 'post'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman_xen-0.3.2 config/routes.rb
foreman_xen-0.4.1 config/routes.rb
foreman_xen-0.4.0 config/routes.rb
foreman_xen-0.3.1 config/routes.rb
foreman_xen-0.3.0 config/routes.rb
foreman_xen-0.2.4 config/routes.rb
foreman_xen-0.1.8 config/routes.rb
foreman_xen-0.1.7 config/routes.rb
foreman_xen-0.2.3 config/routes.rb
foreman_xen-0.2.2 config/routes.rb
foreman_xen-0.1.6 config/routes.rb