Sha256: f8ad6d1733281b057fcfb0278df00cce750957bf9cbb4957252de2678a704bab
Contents?: true
Size: 581 Bytes
Versions: 12
Compression:
Stored size: 581 Bytes
Contents
Lookbook::Engine.routes.draw do if Lookbook.config.auto_refresh mount Lookbook::Engine.websocket => Lookbook.config.cable_mount_path end root to: "application#index", as: :lookbook_home get "/#{Lookbook.config.page_route}", to: "pages#index", as: :lookbook_page_index get "/#{Lookbook.config.page_route}/*path", to: "pages#show", as: :lookbook_page get "/preview/*path", to: "previews#preview", as: :lookbook_preview get "/inspect/*path", to: "previews#show", as: :lookbook_inspect get "/*path", to: "previews#show_legacy", as: :lookbook_inspect_legacy end
Version data entries
12 entries across 12 versions & 1 rubygems