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.8.6 config/routes.rb
my_dashboard-0.8.5 config/routes.rb
my_dashboard-0.8.4 config/routes.rb
my_dashboard-0.8.3 config/routes.rb
my_dashboard-0.8.1 config/routes.rb
my_dashboard-0.8.0 config/routes.rb
my_dashboard-0.7.2 config/routes.rb
my_dashboard-0.7.1 config/routes.rb
my_dashboard-0.7.0 config/routes.rb
my_dashboard-0.6.0 config/routes.rb
my_dashboard-0.5.10 config/routes.rb
my_dashboard-0.5.9 config/routes.rb
my_dashboard-0.5.8 config/routes.rb
my_dashboard-0.5.7 config/routes.rb
my_dashboard-0.5.6 config/routes.rb
my_dashboard-0.5.5 config/routes.rb
my_dashboard-0.5.4 config/routes.rb
my_dashboard-0.5.3 config/routes.rb
my_dashboard-0.5.2 config/routes.rb
my_dashboard-0.5.1 config/routes.rb