Sha256: 103b563e8c073fc61a4f4a1dc79d9ffb4eb49cda2e9ae898f93d9f8a6215e5cc

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

Rails.application.routes.draw do
  scope '/system', :module => 'system_metrics' do
    get 'metrics/admin' => 'metrics#admin', :as => 'system_metrics_admin'
    get 'metrics/category/:category' => 'metrics#category', :as => 'system_metrics_category'
    resources :metrics, :only => [:index, :show, :destroy]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
system-metrics-0.2.5 config/routes.rb
system-metrics-0.2.4 config/routes.rb
system-metrics-0.2.3 config/routes.rb
system-metrics-0.2.2 config/routes.rb
system-metrics-0.2.1 config/routes.rb
system-metrics-0.2.0 config/routes.rb
system-metrics-0.1.0 config/routes.rb