Sha256: ea7ac18fe591e75308b56a6edb2548f162082323388e24d5ad4107a9591c2172
Contents?: true
Size: 595 Bytes
Versions: 6
Compression:
Stored size: 595 Bytes
Contents
Lookbook::Engine.routes.draw do if Lookbook::Engine.websocket? mount Lookbook::Engine.websocket => Lookbook.config.cable_mount_path, :as => :cable 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
6 entries across 6 versions & 1 rubygems