Sha256: 34bbdc2ed79527d8a06abd11b956d0de84de964948af4e625bd0a775df2f6866
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
ModelMirror::Engine.routes.draw do root 'mirror#index' get '*model_path/:id/:relation', to: 'mirror#show', constraints: { id: /(\d+)|([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})/ }, as: 'mirror_relation' get '*model_path/:id', to: 'mirror#show', constraints: { id: /(\d+)|([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})/ }, as: 'mirror_show' get '*model_path', to: 'mirror#list', as: 'mirror_list' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
model_mirror-0.1.0 | config/routes.rb |