Sha256: 66fc1555bed5ff267346b088727acb9f2ea59caa06e5d1c047f119c37faa02c1

Contents?: true

Size: 809 Bytes

Versions: 24

Compression:

Stored size: 809 Bytes

Contents

Rearview::Engine.routes.draw do

  resource :user, only: [:show,:update], :controller => :user

  resources :dashboards, except: [:new,:edit] do
    member do
      get 'errors'
    end
    resources :jobs, only: [:index,:update,:destroy]
    resources :children, only: [:index,:create], controller: :dashboard_children
  end
  get '/dashboards/:dashboard_id/jobs/data' => 'jobs#data'
  get '/dashboards/:dashboard_id/jobs/errors' => 'jobs#errors'

  resources :jobs, except: [:new, :edit] do
    member do
      put 'reset'
    end
  end

  resource :monitor, only: [:create], :controller => :monitor

  get '/jobs/:id/data' => 'jobs#data'
  get '/jobs/:id/errors' => 'jobs#errors'

  get '/public/templates/*template.hbs', to: redirect('/rearview/templates/%{template}.hbs')

  root :to => 'home#show'

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby config/routes.rb
rearview-1.2.2.rc.2-jruby config/routes.rb
rearview-1.2.2.rc.1-jruby config/routes.rb
rearview-1.2.1-jruby config/routes.rb
rearview-1.2.0-jruby config/routes.rb
rearview-1.1.2-jruby config/routes.rb
rearview-1.1.1-jruby config/routes.rb
rearview-1.1.0-jruby config/routes.rb
rearview-1.0.3.rc.4-jruby config/routes.rb
rearview-1.0.3.rc.3-jruby config/routes.rb
rearview-1.0.3.rc.2-jruby config/routes.rb
rearview-1.0.3.rc.1-jruby config/routes.rb
rearview-1.0.2-jruby config/routes.rb
rearview-1.0.2.rc.4-jruby config/routes.rb
rearview-1.0.2.rc.3-jruby config/routes.rb
rearview-1.0.2.rc.2-jruby config/routes.rb
rearview-1.0.2.rc.1-jruby config/routes.rb
rearview-1.0.1-jruby config/routes.rb
rearview-1.0.0-jruby config/routes.rb
rearview-1.0.0.rc5-jruby config/routes.rb