Sha256: 4a974e3fbbda50a36aa3d9fc4557c3f3ea129dcb55e4f09f8fc0dd7816229025

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

Tally::Engine.routes.draw do

  get "/days/:type/:id", to: "days#index", as: :recordable_days
  resources :days, only: :index

  get "/keys/:type/:id", to: "keys#index", as: :recordable_keys
  resources :keys, only: :index

  get "/records/:type/:id", to: "records#index", as: :recordable_records
  resources :records, only: :index

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tally-2.1.0 config/routes.rb
tally-2.0.0 config/routes.rb
tally-1.0.2 config/routes.rb
tally-1.0.1 config/routes.rb
tally-1.0.0 config/routes.rb
tally-1.0.0.beta1 config/routes.rb