Sha256: 5f7b5d10edad979c0abfb4dcae950555d977d0a6156f827e1a55b48f4c3fa6c9
Contents?: true
Size: 815 Bytes
Versions: 24
Compression:
Stored size: 815 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 if Lookbook::Engine.preview_embeds_allowed? get "/embed", to: "embeds#lookup", as: :lookbook_embed_lookup get "/embed/*path", to: "embeds#show", as: :lookbook_embed end get "/*path", to: "application#not_found", via: :all end
Version data entries
24 entries across 24 versions & 1 rubygems