Sha256: 193933e1c9d7035f9817b860020293ddeb33117de9659d136a6fac2a5f3779f6
Contents?: true
Size: 587 Bytes
Versions: 11
Compression:
Stored size: 587 Bytes
Contents
Lookbook::Engine.routes.draw do if Lookbook::Engine.websocket.mountable? mount Lookbook::Engine.websocket.server => "/cable", :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#show", as: :lookbook_preview get "/inspect/*path", to: "inspector#show", as: :lookbook_inspect get "/*path", to: "inspector#show_legacy", as: :lookbook_inspect_legacy end
Version data entries
11 entries across 11 versions & 1 rubygems