Sha256: a0f2b4563dfdc6c672f082ee7326d47dcda6da54d97ad92f90742c45bb26fe26
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
Lookbook::Engine.routes.draw do if Lookbook::Engine.websocket? 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lookbook-1.0.4 | config/routes.rb |
lookbook-1.0.3 | config/routes.rb |
lookbook-1.0.2 | config/routes.rb |