Sha256: f0841d8eca3473d02ed3a360246271edf3099f8f1a11cc3511b4106fd50ccca4

Contents?: true

Size: 995 Bytes

Versions: 6

Compression:

Stored size: 995 Bytes

Contents

# frozen_string_literal: true

# Copyright 2018 Tristan Robert

# This file is part of ForemanFogProxmox.

# ForemanFogProxmox is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# ForemanFogProxmox is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>.

Rails.application.routes.draw do
  namespace :foreman_fog_proxmox do
    match 'isos/:storage', :to => 'compute_resources#isos', :via => 'get'
    match 'ostemplates/:storage', :to => 'compute_resources#ostemplates', :via => 'get'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_fog_proxmox-0.9.4 config/routes.rb
foreman_fog_proxmox-0.9.3 config/routes.rb
foreman_fog_proxmox-0.9.2 config/routes.rb
foreman_fog_proxmox-0.9.1 config/routes.rb
foreman_fog_proxmox-0.9.0 config/routes.rb
foreman_fog_proxmox-0.8.2 config/routes.rb