Sha256: f60c6e7ad4bad0d23434acc5055515870e645bd561ab23c0acb0031ba162cfed

Contents?: true

Size: 360 Bytes

Versions: 23

Compression:

Stored size: 360 Bytes

Contents

MyDashboard::Engine.routes.draw do

  resources :events,      only: :index

  resources :dashboards,  only: :index do
    get '/:name', action: :show,    on: :collection
  end

  resources :widgets,     only: [] do
    get '/:name', action: :show,    on: :collection
    put '/:name', action: :update,  on: :collection
  end

  root to: 'dashboards#index'
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
my_dashboard-0.5.0 config/routes.rb
my_dashboard-0.4.2 config/routes.rb
my_dashboard-0.4.1 config/routes.rb