Sha256: 1a4bbeca0d6100869e34c1b97c27bd164fa1d0800297e8db7de6cedd6363b9fe

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

MetaReports::Engine.routes.draw do
  root to: "reports#index"

  get 'reports/file/:dir' => 'reports#file', as: 'file'
  get 'new' => 'reports#new', as: 'short_new'
  post 'reports' => 'reports#create', as: 'normal_create'
  match ':id(.:format)' => 'reports#show', as: 'short_show', via: [:get, :post]
  get ':id/edit' => 'reports#edit', as: 'short_edit'
  get ':id/form' => 'reports#form', as: 'short_form'
  resources :reports
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meta_reports-0.0.5 config/routes.rb