Sha256: 0e0647344396b57a7571ff9f5acc7423dde5d6c2f9e2325fa5ce4dedc0f5028b
Contents?: true
Size: 703 Bytes
Versions: 2
Compression:
Stored size: 703 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 "/previews", to: "previews#index", as: :lookbook_previews get "/preview/*path", to: "previews#show", as: :lookbook_preview get "/inspect/*path", to: "inspector#show", as: :lookbook_inspect get "/embed", to: "embeds#lookup", as: :lookbook_embed_lookup get "/embed/*path", to: "embeds#show", as: :lookbook_embed end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lookbook-2.0.0.beta.1 | config/routes.rb |
lookbook-2.0.0.beta.0 | config/routes.rb |