Sha256: 25cd82e80629e998c47ee441178d9dd33eebae28e7af4dd2f4789823bf4b4d6f

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

Aeternitas::WebUi::Engine.routes.draw do
  resource :dashboard, controller: :dashboard, only: [:index] do
    get 'polls_timeline', on: :collection
    get 'future_polls', on: :collection
    get 'pollable_growth', on: :collection
  end

  resources :pollables, only: [:index, :show] do
    get :timeline, on: :member
    get :execution_time, on: :member
    get :data_growth, on: :member
    get :all_pollables, on: :member
    get :deactivated_pollables, on: :member
  end

  root 'dashboard#index'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aeternitas_web_ui-0.2.1 config/routes.rb
aeternitas_web_ui-0.2.0 config/routes.rb